blog/backend/Cargo.toml
2023-02-08 22:13:11 +01:00

46 lines
1.2 KiB
TOML

[package]
name = "backend"
version = "0.1.0"
edition = "2021"
authors = ["Dominic Grimm <dominic@dergrimm.net>"]
[[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"] }
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"
pulldown-cmark = { version = "0.9.2", default-features = false, features = ["simd"] }
scan_dir = "0.3.3"
serde = { version = "1.0.152", features = ["derive"] }
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"