Files
Legatus/Cargo.toml

45 lines
1.2 KiB
TOML

[workspace]
resolver = "3"
members = ["crates/protocol", "crates/linux", "crates/agent"]
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.89"
license = "MPL-2.0"
repository = "https://gitea.marek-novak.cz/mnovak/Legatus"
publish = false
[workspace.dependencies]
legatus-protocol = { path = "crates/protocol" }
legatus-linux = { path = "crates/linux" }
domi-pki = { git = "https://gitea.marek-novak.cz/mnovak/domi-pki", tag = "v1.0.0" }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
thiserror = "2.0.17"
ring = "0.17.14"
data-encoding = "2.6"
minisign-verify = "0.3"
minisign = "0.7.9"
rustls = { version = "0.23.31", default-features = false, features = ["ring", "std", "tls12", "logging"] }
rustls-pki-types = "1.12"
webpki = { package = "rustls-webpki", version = "0.103", default-features = false, features = ["ring", "alloc"] }
httparse = "1.9"
tar = { version = "0.4.44", default-features = false }
flate2 = "1.1"
tempfile = "3.20"
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
# Hostile input never meets unwrap(): non-test code must handle every Result.
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
[profile.release]
lto = "thin"
codegen-units = 1
strip = true