diff --git a/Cargo.lock b/Cargo.lock index 53e81dd..d46afc5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1863,7 +1863,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.6.5", + "socket2", "system-configuration", "tokio", "tower-service", @@ -4011,7 +4011,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "socket2 0.5.10", + "socket2", "tokio", "tokio-tungstenite 0.29.0", "tracing", @@ -4076,16 +4076,6 @@ version = "1.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" -[[package]] -name = "socket2" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "socket2" version = "0.6.5" @@ -4782,7 +4772,7 @@ dependencies = [ "mio", "pin-project-lite", "signal-hook-registry", - "socket2 0.6.5", + "socket2", "tokio-macros", "windows-sys 0.61.2", ] diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 700a3b8..c6b0d14 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -25,7 +25,7 @@ rand = "0.8" regex = "1" # Socket options tokio doesn't expose before bind — SO_REUSEADDR, so the # discovery listener can share a port with the real service. -socket2 = "0.5" +socket2 = "0.6" # The HTTP emulator's server: HTTP/1.1 on hyper, already in the tree through reqwest. hyper = { version = "1", features = ["server", "http1"] } hyper-util = { version = "0.1", features = ["tokio"] }