refactor: replace rand crate with fastrand

Replaces the `rand` crate with `fastrand` for improved performance in rate control and reflector selection.
This commit is contained in:
Nils Andreas Svee committed 2026-02-22 00:33:57 +07:00
1 parent 616a3b1c70
commit 830e21363a
4 files changed
+12 -317

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ anyhow = "1.0"
icmp-socket = "0.4.0"
netlink-bindings = { version = "0.2", features = ["rt-link", "tc"] }
netlink-socket2 = "0.2"
rand = "0.10"
fastrand = "2"
rustix = { version = "1.1", features = ["fs", "thread", "time"] }
rust-uci = { version = "0.1", optional = true }
thiserror = "2.0"