Files
candy/Cargo.toml
xfy 49ccb9a0fa update docs
update depdencies
2024-05-08 08:43:08 +08:00

36 lines
1.0 KiB
TOML

[package]
name = "candy"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hyper = { version = "1.3.1", features = ["full"] }
tokio = { version = "1.37.0", features = ["full"] }
http-body-util = "0.1.1"
hyper-util = { version = "0.1.3", features = ["full"] }
# tools
thiserror = "1.0.60"
anyhow = "1.0.83"
config = { version = "0.14.0", default-features = false, features = [
"async",
"toml",
] }
serde = { version = "1.0.201", features = ["derive"] }
toml = "0.8.12"
# logging
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
futures-util = "0.3.30"
tokio-util = "0.7.11"
async-compression = { version = "0.4.9", features = ["tokio", "zstd"] }
http = "1.1.0"
[profile.release]
lto = true
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
# opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols