album/Cargo.toml
Rasmus Kaj 03dd6a5465 Use diesel 2.0
Most of the changes are for database access now requiring an &mut
connection.
2022-10-24 18:26:07 +02:00

50 lines
1.2 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.15.0", features = ["sass", "warp03"] }
[dependencies]
brotli = "3.3.0"
chrono = "0.4.19" # Must match version used by diesel
clap = { version = "3.2.8", features = ["derive", "terminal_size", "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