blog/backend/Cargo.toml

49 lines
1.2 KiB
TOML
Raw Normal View History

2023-02-07 06:02:51 +00:00
[package]
name = "backend"
version = "0.1.0"
edition = "2021"
authors = ["Dominic Grimm <dominic@dergrimm.net>"]
2023-02-11 11:48:39 +00:00
publish = false
2023-02-07 06:02:51 +00:00
[[bin]]
name = "backend"
2023-02-08 21:13:11 +00:00
build = "build.rs"
2023-02-07 06:02:51 +00:00
[[bin]]
name = "blogctl"
2023-02-11 11:48:39 +00:00
[profile.release]
codegen-units = 1
lto = "fat"
strip = true
panic = "abort"
2023-02-07 06:02:51 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.3.0"
2023-02-08 21:13:11 +00:00
actix-web-static-files = "4.0.0"
2023-02-07 06:02:51 +00:00
anyhow = { version = "1.0.69", features = ["backtrace"] }
2023-02-08 21:13:11 +00:00
askama = "0.11.1"
askama_actix = "0.13.0"
2023-02-07 06:02:51 +00:00
chrono = { version = "0.4.23", features = ["serde"] }
clap = { version = "4.1.4", features = ["derive"] }
2023-02-11 11:48:39 +00:00
comrak = { version = "0.16.0", features = ["shortcodes"] }
2023-02-07 06:02:51 +00:00
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"
2023-02-11 11:48:39 +00:00
r2d2_redis = "0.14.0"
2023-02-07 06:02:51 +00:00
scan_dir = "0.3.3"
serde = { version = "1.0.152", features = ["derive"] }
serde_yaml = "0.9.17"
2023-02-08 21:13:11 +00:00
static-files = "0.2.3"
2023-02-07 06:02:51 +00:00
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.5.0"
2023-02-08 21:13:11 +00:00
[build-dependencies]
static-files = "0.2.3"