blog/backend/Cargo.toml
2023-02-12 09:18:56 +01:00

50 lines
1.2 KiB
TOML

[package]
name = "backend"
version = "0.1.0"
edition = "2021"
authors = ["Dominic Grimm <dominic@dergrimm.net>"]
publish = false
[[bin]]
name = "backend"
build = "build.rs"
[[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"
actix-web-static-files = "4.0.0"
anyhow = { version = "1.0.69", features = ["backtrace"] }
askama = "0.11.1"
askama_actix = "0.13.0"
chrono = { version = "0.4.23", features = ["serde"] }
clap = { version = "4.1.4", features = ["derive"] }
comrak = { version = "0.16.0", features = ["shortcodes"] }
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"
itertools = "0.10.5"
lazy_static = "1.4.0"
log = "0.4.17"
r2d2_redis = "0.14.0"
scan_dir = "0.3.3"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
serde_yaml = "0.9.17"
static-files = "0.2.3"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.5.0"
[build-dependencies]
static-files = "0.2.3"