blog/backend/Cargo.toml

38 lines
958 B
TOML

[package]
name = "backend"
version = "0.1.0"
edition = "2021"
authors = ["Dominic Grimm <dominic@dergrimm.net>"]
[[bin]]
name = "backend"
[[bin]]
name = "blogctl"
[profile.release]
codegen-units = 1
lto = "fat"
strip = true
panic = "abort"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.3.0"
anyhow = { version = "1.0.69", features = ["backtrace"] }
chrono = { version = "0.4.23", features = ["serde"] }
clap = { version = "4.1.4", features = ["derive"] }
diesel = { version = "2.0.2", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres", "chrono", "r2d2"] }
env_logger = "0.10.0"
envconfig = "0.10.0"
fronma = "0.1.1"
lazy_static = "1.4.0"
log = "0.4.17"
scan_dir = "0.3.3"
serde = { version = "1.0.152", features = ["derive"] }
serde_yaml = "0.9.17"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.5.0"