Fingerlink/Cargo.toml
Karcsesz 6bf7803b99 Greatly reduce release build size
Courtesy of @Ryze@equestria.social
2024-02-15 00:13:40 +01:00

33 lines
No EOL
1.2 KiB
TOML

[package]
name = "fingerlink"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["server", "editor"]
server = ["tokio", "qpidfile", "axum"]
editor = ["reqwest", "tempfile", "which", "nix"]
[dependencies]
qpidfile = { version = "0.9.2", optional = true }
tokio = { version = "1.36.0", features = ["full"], optional = true }
# dashmap = { version = "5.5.3", features = ["inline"]}
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["fmt"] }
serde = { version = "1.0.196", features = ["derive"] }
serde_json = "1.0.113"
thiserror = "1.0.57"
clap = { version = "4.5.0", features = ["derive"]}
axum = { version = "0.7.4", optional = true }
reqwest = { version = "0.11.24", optional = true, default-features = false, features = ["rustls-tls", "blocking", "json", "gzip", "brotli", "deflate"] }
tempfile = { version = "3.10.0", optional = true }
which = { version = "6.0.0", optional = true }
nix = { version = "0.27.1", optional = true, default-features = false, features = ["signal"] }
urlencoding = { version = "2.1.3"}
[profile.release] # 💛 @Ryze@equestria.social
strip = "symbols"
lto = "fat"
codegen-units = 1