Files
candy/Cargo.toml
xfy 1798d1c710 chore(deps): update dependencies
change to nightly rustc
2024-09-25 17:24:21 +08:00

40 lines
1.0 KiB
TOML

[package]
name = "candy"
version = "0.1.1"
edition = "2021"
rust-version = "1.80.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# core
tokio = { version = "1.40.0", features = ["full"] }
tokio-util = "0.7.12"
hyper = { version = "1.4.1", features = ["full"] }
hyper-util = { version = "0.1.9", features = ["full"] }
http = "1.1.0"
http-body-util = "0.1.2"
futures-util = "0.3.30"
async-compression = { version = "0.4.12", features = [
"tokio",
"zstd",
"gzip",
"deflate",
"brotli",
] }
# tools
thiserror = "1.0.64"
anyhow = "1.0.89"
serde = { version = "1.0.210", features = ["derive"] }
toml = "0.8.19"
# logging
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
clap = { version = "4.5.18", features = ["derive"] }
[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
strip = true # Remove debug symbols