diff --git a/Cargo.lock b/Cargo.lock index 1ed06136646..8cf7e89ba7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1386,9 +1386,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" [[package]] name = "elliptic-curve" diff --git a/core/Cargo.toml b/core/Cargo.toml index 619cd357744..6e0a965dcea 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.9" +either = "1.12" fnv = "1.0" futures = { version = "0.3.30", features = ["executor", "thread-pool"] } futures-timer = "3" diff --git a/examples/file-sharing/Cargo.toml b/examples/file-sharing/Cargo.toml index e38039a11bb..95e73a42f98 100644 --- a/examples/file-sharing/Cargo.toml +++ b/examples/file-sharing/Cargo.toml @@ -12,7 +12,7 @@ release = false serde = { version = "1.0", features = ["derive"] } async-std = { version = "1.12", features = ["attributes"] } clap = { version = "4.4.16", features = ["derive"] } -either = "1.9" +either = "1.12" futures = "0.3.30" libp2p = { path = "../../libp2p", features = [ "async-std", "cbor", "dns", "kad", "noise", "macros", "request-response", "tcp", "websocket", "yamux"] } tracing = "0.1.37" diff --git a/examples/ipfs-private/Cargo.toml b/examples/ipfs-private/Cargo.toml index daa68cd8f5a..0c2cd35b563 100644 --- a/examples/ipfs-private/Cargo.toml +++ b/examples/ipfs-private/Cargo.toml @@ -11,7 +11,7 @@ release = false [dependencies] tokio = { version = "1.36", features = ["rt-multi-thread", "macros", "io-std"] } async-trait = "0.1" -either = "1.9" +either = "1.12" futures = "0.3.30" libp2p = { path = "../../libp2p", features = [ "tokio", "gossipsub", "dns", "identify", "kad", "macros", "noise", "ping", "pnet", "tcp", "websocket", "yamux"] } tracing = "0.1.37" diff --git a/hole-punching-tests/Cargo.toml b/hole-punching-tests/Cargo.toml index 9e6fb15965d..0706e3fc7f9 100644 --- a/hole-punching-tests/Cargo.toml +++ b/hole-punching-tests/Cargo.toml @@ -15,4 +15,4 @@ redis = { version = "0.23.0", default-features = false, features = ["tokio-comp" tokio = { version = "1.36.0", features = ["full"] } serde = { version = "1.0.196", features = ["derive"] } serde_json = "1.0.113" -either = "1.9.0" +either = "1.12.0" diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 81c17e19303..3620335c447 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1" -either = "1.9.0" +either = "1.12.0" futures = "0.3.30" rand = "0.8.5" serde = { version = "1", features = ["derive"] } diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index aed7e2bf762..13667c49881 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.9.0" +either = "1.12.0" futures = "0.3.30" futures-timer = "3.0" instant = "0.1.12" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 4d484a81249..18f9f8692ce 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -18,7 +18,7 @@ asynchronous-codec = { workspace = true } base64 = "0.21.7" byteorder = "1.5.0" bytes = "1.5" -either = "1.9" +either = "1.12" fnv = "1.0.7" futures = "0.3.30" futures-ticker = "0.0.3" diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 2fb51d87627..4f9d3b00041 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -25,7 +25,7 @@ smallvec = "1.12.0" thiserror = "1.0" tracing = "0.1.37" void = "1.0" -either = "1.9.0" +either = "1.12.0" [dev-dependencies] async-std = { version = "1.6.2", features = ["attributes"] } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index bde0d5f7c84..8d6f8c073f6 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] arrayvec = "0.7.4" bytes = "1" -either = "1.9" +either = "1.12" fnv = "1.0" asynchronous-codec = { workspace = true } futures = "0.3.30" diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index a4d9259e9aa..bd771e5a025 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -either = "1.9.0" +either = "1.12.0" futures = "0.3.30" futures-timer = "3.0.2" instant = "0.1.12" diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 94b9deb1a64..4e5d3ffe3eb 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 = "1" -either = "1.9.0" +either = "1.12.0" futures = "0.3.30" futures-timer = "3" futures-bounded = { workspace = true } diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index a700c1c1c5a..bdcd9816341 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.9.0" +either = "1.12.0" fnv = "1.0" futures = "0.3.30" futures-timer = "3.0.2" @@ -41,7 +41,7 @@ wasm-bindgen = ["dep:wasm-bindgen-futures", "dep:getrandom"] [dev-dependencies] async-std = { version = "1.6.2", features = ["attributes"] } -either = "1.9.0" +either = "1.12.0" futures = "0.3.30" 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 385e292103c..c40694e28ba 100644 --- a/transports/websocket/Cargo.toml +++ b/transports/websocket/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures-rustls = "0.24.0" -either = "1.9.0" +either = "1.12.0" futures = "0.3.30" libp2p-core = { workspace = true } libp2p-identity = { workspace = true }