Attempt changing to socket2

This commit is contained in:
Nils Andreas Svee committed 2022-10-13 18:03:56 +02:00
1 parent 8e0a03b408
commit 6119408e1f
3 files changed
+47 -40

No files matched your search

+3 -5
View File
@@ -26,6 +26,7 @@ etherparse = "0.12.0"
neli = "0.6.2"
rand = "0.8.5"
rust-uci = { version = "0.1.5", optional = true }
socket2 = { version = "0.4", features = ["all"] }
thiserror = "1.0.37"
[dependencies.log]
@@ -33,7 +34,7 @@ features = ["std"]
version = "0.4.17"
[dependencies.nix]
features = ["net", "socket", "time"]
features = ["time"]
version = "0.25.0"
[dependencies.serde]
@@ -45,7 +46,4 @@ features = ["formatting", "macros"]
version = "0.3.15"
[features]
uci = ["dep:rust-uci"]
[patch.crates-io]
nix = { git = "https://github.com/Lochnair/nix", branch = "add-icmp_proto" }
uci = ["dep:rust-uci"]