86d301ada5
Make them an bad request rather than an internal server error.
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[package]
|
|
name = "rphotos"
|
|
version = "0.11.7-PRE"
|
|
authors = ["Rasmus Kaj <kaj@kth.se>"]
|
|
edition = "2021"
|
|
|
|
build = "src/build.rs"
|
|
|
|
[build-dependencies]
|
|
ructe = { version = "0.14.0", features = ["sass", "warp03"] }
|
|
|
|
[dependencies]
|
|
brotli = "3.3.0"
|
|
chrono = "0.4.0" # Must match version used by diesel
|
|
clap = { version = "3.2.8", features = ["derive", "terminal_size", "wrap_help", "env"] }
|
|
dotenv = "0.15"
|
|
env_logger = "0.9.0"
|
|
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"
|
|
log = "0.4.8"
|
|
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"] }
|
|
|
|
[dependencies.djangohashers]
|
|
default-features = false
|
|
features = ["with_pbkdf2"]
|
|
version = "1.1.1"
|
|
|
|
[dependencies.diesel]
|
|
default-features = false
|
|
features = ["r2d2", "chrono", "postgres"]
|
|
version = "1.4.0"
|
|
|
|
[dependencies.warp]
|
|
default-features = false
|
|
version = "0.3.0"
|
|
|
|
[dev-dependencies]
|
|
serde_urlencoded = "0.7.1" # Same as warp depends on
|