147901246e
* Check for null bytes in autocomplete patterns, make them result in a 400 bad request rather than a 500 internal server error. * Changed zoom-on-click to use fullscreen. I think that is an improvement especially on mobile. * Improved logging by using tracing and tracing-subscriber rather than log and env_logger. * Four more kinds of OSM areas to recognize. * Added a favicon. * Update diesel to 2.0.0: Mainly most operations now needs a `&mut PgConnection`. Also, getting parts of dates are now done by sql functions. * Update ructe to 0.16.0. * Update clap to 4.0.18. * Add this changelog.
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[package]
|
|
name = "rphotos"
|
|
version = "0.11.8"
|
|
authors = ["Rasmus Kaj <kaj@kth.se>"]
|
|
edition = "2021"
|
|
|
|
build = "src/build.rs"
|
|
|
|
[build-dependencies]
|
|
ructe = { version = "0.16.0", features = ["sass", "warp03"] }
|
|
|
|
[dependencies]
|
|
brotli = "3.3.0"
|
|
chrono = "0.4.19" # Must match version used by diesel
|
|
clap = { version = "4.0.18", features = ["derive", "wrap_help", "env"] }
|
|
dotenv = "0.15"
|
|
flate2 = "1.0.14"
|
|
image = "0.24.0"
|
|
medallion = "2.3.1"
|
|
kamadak-exif = "0.5.0"
|
|
lazy-regex = "2.2.2"
|
|
libc = "0.2.68"
|
|
mime = "0.3.0"
|
|
r2d2-memcache = "0.6"
|
|
rand = "0.8"
|
|
reqwest = { version = "0.11.0", features = ["json"] }
|
|
serde = { version = "1.0.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
slug = "0.1"
|
|
tokio = { version = "1.0.2", features = ["macros", "rt-multi-thread"] }
|
|
tracing = "0.1.35"
|
|
tracing-subscriber = { version = "0.3.14", features = ["env-filter"] }
|
|
|
|
[dependencies.djangohashers]
|
|
default-features = false
|
|
features = ["with_pbkdf2"]
|
|
version = "1.1.1"
|
|
|
|
[dependencies.diesel]
|
|
default-features = false
|
|
features = ["r2d2", "chrono", "postgres"]
|
|
version = "2.0.0"
|
|
|
|
[dependencies.warp]
|
|
default-features = false
|
|
version = "0.3.0"
|
|
|
|
[dev-dependencies]
|
|
serde_urlencoded = "0.7.1" # Same as warp depends on
|