summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock49
-rw-r--r--Cargo.toml2
2 files changed, 26 insertions, 25 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 453c22f..bf433ff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -51,26 +51,6 @@ dependencies = [
]
[[package]]
-name = "bytemuck"
-version = "1.24.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4"
-dependencies = [
- "bytemuck_derive",
-]
-
-[[package]]
-name = "bytemuck_derive"
-version = "1.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
name = "bytes"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -129,7 +109,7 @@ dependencies = [
"ctrlc",
"etherparse 0.18.2",
"iptables",
- "nfq",
+ "nfq-updated",
"nix 0.27.1",
"serde_json",
"socket2",
@@ -206,13 +186,14 @@ dependencies = [
]
[[package]]
-name = "nfq"
+name = "nfq-updated"
version = "0.2.6"
-source = "git+https://github.com/nbdd0121/nfq-rs.git?rev=4efbaa3#4efbaa3ba8a67215ae57514cb402534d24b6b408"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5eb9c59b2563daf4d6b38520cee60f086a2e1da1d29e73c00ef714f69d29d5a5"
dependencies = [
- "bytemuck",
"bytes",
"libc",
+ "zerocopy",
]
[[package]]
@@ -605,6 +586,26 @@ dependencies = [
]
[[package]]
+name = "zerocopy"
+version = "0.8.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "zmij"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 96a7373..ba45804 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,7 +35,7 @@ etherparse = "0.18"
[target.'cfg(target_os = "linux")'.dependencies]
iptables = "0.4"
-nfq = { git = "https://github.com/nbdd0121/nfq-rs.git", rev = "4efbaa3" } # to use as_raw_fd
+nfq = { package = "nfq-updated", version = "0.2.6" } # nfq-updated: to us as_raw_fd
socket2 = { version = "0.6", features = ["all"] }
nix = { version = "0.27.1", features = ["fs", "poll"] }
serde_json = "1.0.145"