Files
sqm-autorate-rust/Cargo.toml
T
Nils Andreas Svee 8e4a1a24f6 refactor(control): introduce runtime and SQMA law modules
Separate traffic sampling and shaper access from measurement processing and rate decisions through Runtime, LawContext, and SqmaLaw. Add the async Law interface and its dependency; the worker migration activates these modules in the following commit.
2026-10-31 00:06:53 +07:00

57 lines
1.5 KiB
TOML

[package]
name = "sqm-autorate-rust"
version = "0.4.1"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
codegen-units = 1
lto = true
opt-level = 's'
[profile.release]
codegen-units = 1
lto = true
opt-level = 'z'
panic = "abort"
strip = "symbols"
[dependencies]
anyhow = "1.0"
async-trait = "0.1.92"
config = { version = "0.15.27", default-features = false }
csv = "1.4.0"
fastrand = "2"
icmp-socket2 = { version = "0.6.4", features = ["tokio"] }
irtt-client = { version = "0.7.0", optional = true, features = ["ancillary", "tokio"] }
libc = "0.2"
rustix = { version = "1.1", features = ["fs", "system", "thread", "time"] }
serde = { version = "1", features = ["derive"] }
thiserror = "2.0"
tokio = { version = "1", features = ["full"] }
uci-derive = { path = "crates/uci-derive" }
[dependencies.log]
features = ["std"]
version = "0.4"
[target.'cfg(target_os = "linux")'.dependencies]
netlink-bindings = { version = "0.3.5", features = ["rt-link", "tc"] }
netlink-socket2 = { version = "0.3.5" }
[target.'cfg(unix)'.dependencies]
rust-uci = { git = "https://github.com/Lochnair/rust-uci.git", rev = "6835397f4f4ba8b69e75e727105186865c357417", optional = true, default-features = false }
[features]
default = ["irtt", "toml", "uci-vendored"]
irtt = ["dep:irtt-client"]
toml = ["config/toml"]
uci = ["dep:rust-uci"]
uci-vendored = ["uci", "rust-uci/vendored"]
[workspace]
members = ["crates/uci-derive"]
resolver = "3"