Files
sqm-autorate-rust/Cargo.toml
T
Nils Andreas Svee 6a49ad9112 Refactor(netlink): Replaces zerocopy with bytemuck
Migrates from `zerocopy` to `bytemuck` for improved data serialization and deserialization in netlink communication. This enhances maintainability.
2026-02-21 19:09:10 +07:00

44 lines
865 B
TOML

[package]
name = "sqm-autorate-rust"
version = "0.2.0"
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"
bytemuck = { version = "1.25.0", features = ["derive"] }
icmp-socket = "0.4.0"
neli = "0.7"
rand = "0.10"
rustix = { version = "1.1", features = ["fs", "thread", "time"] }
rust-uci = { version = "0.1", optional = true }
thiserror = "2.0"
[dependencies.log]
features = ["std"]
version = "0.4"
[dependencies.time]
features = ["formatting", "macros"]
version = "0.3"
[features]
uci = ["dep:rust-uci"]
[patch.crates-io]
icmp-socket = { git = 'https://github.com/Lochnair/icmp-socket.git', tag = "v0.4.0"}