47 lines
1.0 KiB
TOML
47 lines
1.0 KiB
TOML
[package]
|
|
name = "axum_server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
askama = { version = "0.12", features = ["with-axum", "mime", "mime_guess"] }
|
|
askama_axum = "0.4.0"
|
|
axum = "0.7.3"
|
|
chrono = { version = "0.4.31", features = ["serde"] }
|
|
pulldown-cmark = { version = "0.10" }
|
|
gray_matter = "0.2.6"
|
|
rss = "2.0.7"
|
|
serde = "1.0.195"
|
|
serde_json = "1.0.111"
|
|
tokio = { version = "1.35.1", features = ["full"] }
|
|
tower-http = { version = "0.5.0", features = ["trace", "fs"] }
|
|
tower-livereload = "0.9.2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
image = "0.25.2"
|
|
anyhow = "1.0.86"
|
|
rayon = "1.10.0"
|
|
syntect = "5.2.0"
|
|
|
|
[build]
|
|
rustflags = ["-Z", "threads=8"]
|
|
|
|
# [target.x86_64-unknown-linux-gnu]
|
|
# rustflags = [
|
|
# "-C", "link-arg=-fuse-ld=lld"
|
|
# ]
|
|
|
|
[profile.dev]
|
|
debug = false
|
|
opt-level = 0
|
|
# codegen-units = 16
|
|
# lto = "thin"
|
|
panic = "unwind"
|
|
strip = false
|
|
incremental = true
|
|
|
|
[profile.dev.package.askama_derive]
|
|
opt-level = 3
|