Files
EasyDNS/Cargo.toml
T
2026-11-23 09:31:05 +01:00

65 lines
2.0 KiB
TOML

[workspace]
resolver = "3"
members = ["crates/*"]
[workspace.package]
version = "0.1.2"
edition = "2024"
rust-version = "1.85"
license = "MIT"
repository = "https://git.linuxiarz.pl/gru/EasyDNS"
homepage = "https://repo.linuxiarz.pl"
authors = ["Mateusz Gruszczyński"]
[workspace.dependencies]
hickory-proto = { version = "0.26.3", default-features = false, features = ["std", "dnssec-ring"] }
tokio = { version = "1.47", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_norway = "0.9"
thiserror = "2"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
ipnet = { version = "2", features = ["serde"] }
rand = "0.9"
lru = "0.16"
socket2 = { version = "0.6", features = ["all"] }
data-encoding = "2"
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
clap_mangen = "0.3"
axum = "0.8"
hyper = { version = "1", features = ["client", "server", "http1", "http2"] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1", "http2"] }
http-body-util = "0.1"
bytes = "1"
idna = "1"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12", "logging"] }
webpki-roots = "1"
rcgen = "0.14"
dns-core = { path = "crates/dns-core" }
dns-config = { path = "crates/dns-config" }
dns-authoritative = { path = "crates/dns-authoritative" }
dns-cache = { path = "crates/dns-cache" }
dns-recursive = { path = "crates/dns-recursive" }
dns-forwarder = { path = "crates/dns-forwarder" }
dns-policy = { path = "crates/dns-policy" }
dns-server = { path = "crates/dns-server" }
dns-api = { path = "crates/dns-api" }
dns-metrics = { path = "crates/dns-metrics" }
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
unwrap_used = "warn"
expect_used = "warn"
# Style: nested `if let` blocks are kept for readability instead of let-chains.
collapsible_if = "allow"
[profile.release]
lto = "thin"
codegen-units = 4