diff --git a/Cargo.lock b/Cargo.lock index f594f4a6274..1d8eef482c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1407,9 +1407,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 11393331cbb..fc047a15ca3 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 627923da5c7..667399e234e 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.150" -either = "1.12.0" +either = "1.16.0" diff --git a/protocols/autonat/Cargo.toml b/protocols/autonat/Cargo.toml index d37cc7210a1..d850161f101 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 45c83101d39..d25feb32e69 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 ae6675d7ae1..46976d99c7e 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 6e65d8cb2a0..c4be57e7bd2 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -23,7 +23,7 @@ prost = { workspace = true } 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 183aecec050..04a4bfbedb1 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 f1b8a2cc37f..10fb65b0288 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 }