2024-02-14 19:35:19 +01:00
|
|
|
[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"] }
|
2024-03-17 20:34:46 +01:00
|
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
|
|
serde_json = "1.0.114"
|
|
|
|
thiserror = "1.0.58"
|
|
|
|
clap = { version = "4.5.3", features = ["derive"]}
|
2024-02-14 19:35:19 +01:00
|
|
|
axum = { version = "0.7.4", optional = true }
|
2024-03-17 20:34:46 +01:00
|
|
|
reqwest = { version = "0.11.26", optional = true, default-features = false, features = ["rustls-tls", "blocking", "json", "gzip", "brotli", "deflate"] }
|
|
|
|
tempfile = { version = "3.10.1", optional = true }
|
2024-02-14 19:35:19 +01:00
|
|
|
which = { version = "6.0.0", optional = true }
|
2024-03-17 20:34:46 +01:00
|
|
|
nix = { version = "0.28.0", optional = true, default-features = false, features = ["signal"] }
|
2024-02-15 00:13:40 +01:00
|
|
|
urlencoding = { version = "2.1.3"}
|
|
|
|
|
|
|
|
[profile.release] # 💛 @Ryze@equestria.social
|
|
|
|
strip = "symbols"
|
|
|
|
lto = "fat"
|
|
|
|
codegen-units = 1
|