From 30d0f598ef7abc23a8304921c7ae2794c19cf6c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 May 2023 09:00:15 +0000 Subject: [PATCH] deps: bump socket2 from 0.4.9 to 0.5.2 Pull-Request: #3873. --- Cargo.lock | 28 +++++++++++++++++++--------- protocols/mdns/Cargo.toml | 2 +- transports/tcp/Cargo.toml | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 73bc3957497..5a37baaedfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -354,7 +354,7 @@ dependencies = [ "polling", "rustix", "slab", - "socket2", + "socket2 0.4.9", "waker-fn", ] @@ -437,7 +437,7 @@ dependencies = [ "futures-io", "futures-util", "pin-utils", - "socket2", + "socket2 0.4.9", "trust-dns-resolver", ] @@ -1991,7 +1991,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.9", - "socket2", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -2149,7 +2149,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be" dependencies = [ - "socket2", + "socket2 0.4.9", "widestring", "winapi", "winreg", @@ -2626,7 +2626,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2", + "socket2 0.5.2", "tokio", "trust-dns-proto", "void", @@ -2966,7 +2966,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "log", - "socket2", + "socket2 0.5.2", "tokio", ] @@ -4669,6 +4669,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "socket2" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d283f86695ae989d1e18440a943880967156325ba025f05049946bff47bcc2b" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "soketto" version = "0.7.1" @@ -4922,7 +4932,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite 0.2.9", "signal-hook-registry", - "socket2", + "socket2 0.4.9", "tokio-macros", "windows-sys 0.48.0", ] @@ -5034,7 +5044,7 @@ dependencies = [ "rustls 0.20.8", "rustls-pemfile", "smallvec", - "socket2", + "socket2 0.4.9", "thiserror", "tinyvec", "tokio", @@ -5525,7 +5535,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2", + "socket2 0.4.9", "thiserror", "tokio", "webrtc-util", diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 942c2122a94..c7236a8c9d6 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -21,7 +21,7 @@ libp2p-identity = { workspace = true } log = "0.4.14" rand = "0.8.3" smallvec = "1.6.1" -socket2 = { version = "0.4.0", features = ["all"] } +socket2 = { version = "0.5.2", features = ["all"] } tokio = { version = "1.28", default-features = false, features = ["net", "time"], optional = true} trust-dns-proto = { version = "0.22.0", default-features = false, features = ["mdns", "tokio-runtime"] } void = "1.0.2" diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index b7bd9e8d5df..b093560310c 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -19,7 +19,7 @@ libc = "0.2.142" libp2p-core = { workspace = true } libp2p-identity = { workspace = true } log = "0.4.11" -socket2 = { version = "0.4.0", features = ["all"] } +socket2 = { version = "0.5.2", features = ["all"] } tokio = { version = "1.28.0", default-features = false, features = ["net"], optional = true } [features]