From 3de46b5e706858cc5593258bafc50c193a993822 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 12:05:03 +0000 Subject: [PATCH 1/2] deps: bump either from 1.15.0 to 1.16.0 Bumps [either](https://github.com/rayon-rs/either) from 1.15.0 to 1.16.0. - [Commits](https://github.com/rayon-rs/either/compare/1.15.0...1.16.0) --- updated-dependencies: - dependency-name: either dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- core/Cargo.toml | 2 +- examples/ipfs-private/Cargo.toml | 2 +- hole-punching-tests/Cargo.toml | 2 +- protocols/autonat/Cargo.toml | 2 +- protocols/dcutr/Cargo.toml | 2 +- protocols/gossipsub/Cargo.toml | 2 +- protocols/identify/Cargo.toml | 2 +- protocols/kad/Cargo.toml | 2 +- protocols/relay/Cargo.toml | 2 +- swarm/Cargo.toml | 4 ++-- transports/websocket/Cargo.toml | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5901d07a994..c2ba7b990eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1401,9 +1401,9 @@ dependencies = [ [[package]] name = "either" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" [[package]] name = "elliptic-curve" diff --git a/core/Cargo.toml b/core/Cargo.toml index 212955f7af3..4fdf7386280 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -either = "1.11" +either = "1.16" fnv = "1.0" futures = { workspace = true, features = ["executor", "thread-pool"] } futures-timer = { workspace = true } diff --git a/examples/ipfs-private/Cargo.toml b/examples/ipfs-private/Cargo.toml index 085eebc85a3..6d204055dbb 100644 --- a/examples/ipfs-private/Cargo.toml +++ b/examples/ipfs-private/Cargo.toml @@ -10,7 +10,7 @@ release = false [dependencies] tokio = { workspace = true, features = ["rt-multi-thread", "macros", "io-std"] } -either = "1.12" +either = "1.16" futures = { workspace = true } libp2p = { path = "../../libp2p", features = [ "tokio", "gossipsub", "dns", "identify", "kad", "macros", "noise", "ping", "pnet", "tcp", "websocket", "yamux"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/hole-punching-tests/Cargo.toml b/hole-punching-tests/Cargo.toml index a5bdbf961fc..5bd5308d4cc 100644 --- a/hole-punching-tests/Cargo.toml +++ b/hole-punching-tests/Cargo.toml @@ -15,4 +15,4 @@ redis = { version = "0.24.0", default-features = false, features = ["tokio-comp" tokio = { workspace = true, features = ["full"] } serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.149" -either = "1.12.0" +either = "1.16.0" diff --git a/protocols/autonat/Cargo.toml b/protocols/autonat/Cargo.toml index 3c058d0b2fd..c5ce7080e50 100644 --- a/protocols/autonat/Cargo.toml +++ b/protocols/autonat/Cargo.toml @@ -17,7 +17,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = { workspace = true } -either = { version = "1.9.0", optional = true } +either = { version = "1.16.0", optional = true } futures = { workspace = true } futures-bounded = { workspace = true, optional = true } futures-timer = { workspace = true } diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index cd5a4b8157f..c005ef7b841 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = { workspace = true } -either = "1.11.0" +either = "1.16.0" futures = { workspace = true } futures-timer = { workspace = true } web-time = { workspace = true } diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 4d32308a7b2..41cb658813e 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -20,7 +20,7 @@ asynchronous-codec = { workspace = true } base64 = "0.22.1" byteorder = "1.5.0" bytes.workspace = true -either = "1.11" +either = "1.16" fnv = "1.0.7" futures = { workspace = true } futures-timer = { workspace = true } diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index a1eb57bd9a2..b7326a29049 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -23,7 +23,7 @@ quick-protobuf = "0.8" smallvec = "1.15.1" thiserror = { workspace = true } tracing = { workspace = true } -either = "1.12.0" +either = "1.16.0" [dev-dependencies] tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index cf1ea673dcf..3a971bd537d 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] bytes.workspace = true -either = "1.11" +either = "1.16" fnv = "1.0" asynchronous-codec = { workspace = true } futures = { workspace = true } diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index cd2209b3437..e43fc21ea74 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = { workspace = true } bytes.workspace = true -either = "1.12.0" +either = "1.16.0" futures = { workspace = true } futures-timer = { workspace = true } futures-bounded = { workspace = true } diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index d49b2330e01..3a8544f3c52 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -either = "1.11.0" +either = "1.16.0" fnv = "1.0" futures = { workspace = true } futures-timer = { workspace = true } @@ -37,7 +37,7 @@ macros = ["dep:libp2p-swarm-derive"] tokio = ["dep:tokio"] [dev-dependencies] -either = "1.11.0" +either = "1.16.0" futures = { workspace = true } libp2p-identify = { path = "../protocols/identify" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. libp2p-identity = { workspace = true, features = ["ed25519"] } diff --git a/transports/websocket/Cargo.toml b/transports/websocket/Cargo.toml index 7b6d4e9c628..e81b5300b65 100644 --- a/transports/websocket/Cargo.toml +++ b/transports/websocket/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures-rustls = { workspace = true, features = ["ring"] } -either = "1.12.0" +either = "1.16.0" futures = { workspace = true } libp2p-core = { workspace = true } libp2p-identity = { workspace = true } From 3a2bc76cf1a78a54c50c5f4a3c2262a4c9738394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Thu, 28 May 2026 11:34:10 +0100 Subject: [PATCH 2/2] Apply suggestion from @jxs --- hole-punching-tests/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/hole-punching-tests/Cargo.toml b/hole-punching-tests/Cargo.toml index 9b569559364..667399e234e 100644 --- a/hole-punching-tests/Cargo.toml +++ b/hole-punching-tests/Cargo.toml @@ -14,6 +14,5 @@ tracing = { workspace = true } redis = { version = "0.24.0", default-features = false, features = ["tokio-comp"] } tokio = { workspace = true, features = ["full"] } serde = { version = "1.0.228", features = ["derive"] } -serde_json = "1.0.149" serde_json = "1.0.150" either = "1.16.0"