diff --git a/Cargo.lock b/Cargo.lock index c7e92fd8..f5e37a48 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1485,9 +1485,9 @@ dependencies = [ [[package]] name = "either" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "elliptic-curve" diff --git a/core/Cargo.toml b/core/Cargo.toml index bc18a771..34da753e 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.5" +either = "1.9" fnv = "1.0" futures = { version = "0.3.28", features = ["executor", "thread-pool"] } futures-timer = "3" diff --git a/examples/file-sharing/Cargo.toml b/examples/file-sharing/Cargo.toml index 8055ee82..348b62fd 100644 --- a/examples/file-sharing/Cargo.toml +++ b/examples/file-sharing/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" serde = { version = "1.0", features = ["derive"] } async-std = { version = "1.12", features = ["attributes"] } clap = { version = "4.3.12", features = ["derive"] } -either = "1.8" +either = "1.9" env_logger = "0.10" futures = "0.3.28" libp2p = { path = "../../libp2p", features = ["async-std", "cbor", "dns", "kad", "noise", "macros", "request-response", "tcp", "websocket", "yamux"] } diff --git a/examples/ipfs-private/Cargo.toml b/examples/ipfs-private/Cargo.toml index c1e860a0..7871e5c4 100644 --- a/examples/ipfs-private/Cargo.toml +++ b/examples/ipfs-private/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" [dependencies] async-std = { version = "1.12", features = ["attributes"] } async-trait = "0.1" -either = "1.8" +either = "1.9" env_logger = "0.10" futures = "0.3.28" libp2p = { path = "../../libp2p", features = ["async-std", "gossipsub", "dns", "identify", "kad", "macros", "noise", "ping", "pnet", "tcp", "websocket", "yamux"] } diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index b88cd0e7..a2e281db 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1" -either = "1.8.0" +either = "1.9.0" env_logger = "0.10.0" futures = "0.3.28" log = "0.4" diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index 27a927e6..5ef81f0d 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = "0.6" -either = "1.6.0" +either = "1.9.0" futures = "0.3.28" futures-timer = "3.0" instant = "0.1.12" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 25232ff5..4351a735 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -18,7 +18,7 @@ asynchronous-codec = "0.6" base64 = "0.21.2" byteorder = "1.3.4" bytes = "1.4" -either = "1.5" +either = "1.9" fnv = "1.0.7" futures = "0.3.28" futures-ticker = "0.0.3" diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 8fc9339c..61d38ede 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -24,7 +24,7 @@ quick-protobuf = "0.8" smallvec = "1.11.0" thiserror = "1.0" void = "1.0" -either = "1.8.0" +either = "1.9.0" [dev-dependencies] async-std = { version = "1.6.2", features = ["attributes"] } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 49732c85..aa66dd30 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.5" +either = "1.9" fnv = "1.0" asynchronous-codec = "0.6" futures = "0.3.28" diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index aba62c3a..aebc4735 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.8.0" +either = "1.9.0" futures = "0.3.28" futures-timer = "3.0.2" instant = "0.1.12" diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 7830dcdd..a749e6f2 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = "0.6" bytes = "1" -either = "1.6.0" +either = "1.9.0" futures = "0.3.28" futures-timer = "3" instant = "0.1.12" diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 35279c4d..10bd747e 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.6.0" +either = "1.9.0" fnv = "1.0" futures = "0.3.28" futures-timer = "3.0.2" @@ -40,7 +40,7 @@ wasm-bindgen = ["dep:wasm-bindgen-futures", "dep:getrandom"] [dev-dependencies] async-std = { version = "1.6.2", features = ["attributes"] } -either = "1.6.0" +either = "1.9.0" env_logger = "0.10" futures = "0.3.28" libp2p-identify = { path = "../protocols/identify" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. diff --git a/transports/websocket/Cargo.toml b/transports/websocket/Cargo.toml index a5559b88..4ae420b6 100644 --- a/transports/websocket/Cargo.toml +++ b/transports/websocket/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures-rustls = "0.22" -either = "1.5.3" +either = "1.9.0" futures = "0.3.28" libp2p-core = { workspace = true } libp2p-identity = { workspace = true }