refactor: replace bincode with zerocopy
Replaces bincode with zerocopy for deserialization of network data, improving performance and reducing dependencies.
This commit is contained in:
3 files changed
+32
-45
No files matched your search
+3
-2
@@ -20,13 +20,14 @@ strip = "symbols"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bincode = "2.0"
|
||||
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"
|
||||
zerocopy = "0.8.39"
|
||||
zerocopy-derive = "0.8.39"
|
||||
|
||||
[dependencies.log]
|
||||
features = ["std"]
|
||||
@@ -40,4 +41,4 @@ version = "0.3"
|
||||
uci = ["dep:rust-uci"]
|
||||
|
||||
[patch.crates-io]
|
||||
icmp-socket = { git = 'https://github.com/Lochnair/icmp-socket.git', tag = "v0.4.0"}
|
||||
icmp-socket = { git = 'https://github.com/Lochnair/icmp-socket.git', tag = "v0.4.0"}
|
||||
Reference in new issue
Block a user