Files
dotfiles/Cargo.toml
T
Richie 8a11cb4659 chore: update dependencies in Cargo.toml
- Added new dependencies: axum, bytes, garde, hex, prost, prost-build, protoc-bin-vendored, reqwest, rustls, sha2, sqlx, subtle, systemd, thiserror, tokio, tokio-retry, tower-http, tracing, tracing-subscriber, zstd.
- Updated clap and serde to include specific features.
- Disabled default features for reqwest, rustls, and sqlx to optimize the build.
2026-10-16 21:02:48 -04:00

68 lines
1.8 KiB
TOML

[workspace]
resolver = "2"
members = ["rust/*"]
[workspace.dependencies]
anyhow = "1.0"
axum = "0.8"
bytes = "1.10"
chrono = "0.4"
clap = { version = "4.5", features = ["derive", "env"] }
env_logger = "0.11"
garde = { version = "0.23", features = ["derive", "serde"] }
hex = "0.4"
log = "0.4"
prost = "0.14"
prost-build = "0.14"
protoc-bin-vendored = "3.2"
# HTTP clients use the shared tls crate to install AWS-LC before building a reqwest client.
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots-no-provider"] }
rustls = { version = "0.23", default-features = false, features = ["aws_lc_rs", "std", "tls12"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
signal = { path = "rust/signal" }
sqlx = { version = "0.9", default-features = false, features = [
"chrono",
"postgres",
"runtime-tokio",
"tls-none",
] }
subtle = "2.6"
systemd = { version = "0.10", features = ["journal"] }
thiserror = "2.0"
tls = { path = "rust/tls" }
tokio = { version = "1.47", features = [
"macros",
"net",
"rt-multi-thread",
"signal",
"time",
] }
tokio-retry = "0.3"
tower-http = { version = "0.6", features = ["limit", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
zfs = { path = "rust/zfs" }
zstd = "0.13"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 } # UM, ACTUALLY
nursery = { level = "deny", priority = -1 } # BETA LINTS
# DENY PANICS
unwrap_used = "deny"
expect_used = "deny"
indexing_slicing = "deny"
arithmetic_side_effects = "deny"
unreachable = "deny"
unimplemented = "deny"
unchecked_time_subtraction = "deny"
todo = "deny"
string_slice = "deny"
panic_in_result_fn = "deny"
panic = "deny"
exit = "deny"
as_conversions = "deny"