From 0c94237e16707380857cd04b9bd76b6d2979e7a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Jan 2023 23:34:17 +0000 Subject: [PATCH] deps: bump futures from 0.3.25 to 0.3.26 (#3405) --- Cargo.lock | 53 +++++++++++++++++---------- Cargo.toml | 2 +- core/Cargo.toml | 2 +- core/src/either.rs | 30 ++------------- interop-tests/Cargo.toml | 2 +- misc/metrics/Cargo.toml | 2 +- misc/rw-stream-sink/Cargo.toml | 2 +- muxers/mplex/Cargo.toml | 2 +- muxers/test-harness/Cargo.toml | 2 +- muxers/yamux/Cargo.toml | 2 +- protocols/dcutr/Cargo.toml | 2 +- protocols/floodsub/Cargo.toml | 2 +- protocols/gossipsub/Cargo.toml | 2 +- protocols/identify/Cargo.toml | 2 +- protocols/kad/Cargo.toml | 2 +- protocols/mdns/Cargo.toml | 2 +- protocols/ping/Cargo.toml | 2 +- protocols/relay/Cargo.toml | 2 +- protocols/request-response/Cargo.toml | 2 +- swarm/Cargo.toml | 4 +- transports/deflate/Cargo.toml | 2 +- transports/dns/Cargo.toml | 2 +- transports/noise/Cargo.toml | 2 +- transports/plaintext/Cargo.toml | 2 +- transports/pnet/Cargo.toml | 2 +- transports/quic/Cargo.toml | 2 +- transports/tcp/Cargo.toml | 2 +- transports/tls/Cargo.toml | 2 +- transports/uds/Cargo.toml | 2 +- transports/wasm-ext/Cargo.toml | 2 +- transports/websocket/Cargo.toml | 2 +- 31 files changed, 67 insertions(+), 76 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7fc114e..5bf97511 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1463,9 +1463,9 @@ dependencies = [ [[package]] name = "futures" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0" +checksum = "13e2792b0ff0340399d58445b88fd9770e3489eff258a4cbc1523418f12abf84" dependencies = [ "futures-channel", "futures-core", @@ -1478,9 +1478,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed" +checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5" dependencies = [ "futures-core", "futures-sink", @@ -1488,15 +1488,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac" +checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608" [[package]] name = "futures-executor" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2" +checksum = "e8de0a35a6ab97ec8869e32a2473f4b1324459e14c29275d14b10cb1fd19b50e" dependencies = [ "futures-core", "futures-task", @@ -1506,9 +1506,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb" +checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531" [[package]] name = "futures-lite" @@ -1527,9 +1527,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d" +checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70" dependencies = [ "proc-macro2", "quote", @@ -1549,15 +1549,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9" +checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364" [[package]] name = "futures-task" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea" +checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366" [[package]] name = "futures-timer" @@ -1571,9 +1571,9 @@ dependencies = [ [[package]] name = "futures-util" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6" +checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1" dependencies = [ "futures-channel", "futures-core", @@ -1916,6 +1916,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "if-addrs" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b24dd0826eee92c56edcda7ff190f2cf52115c49eadb2c2da8063e2673a8c2" +dependencies = [ + "libc", + "windows-sys", +] + [[package]] name = "if-watch" version = "3.0.0" @@ -1926,7 +1936,7 @@ dependencies = [ "core-foundation", "fnv", "futures", - "if-addrs", + "if-addrs 0.7.0", "ipnet", "log", "rtnetlink", @@ -1995,7 +2005,7 @@ dependencies = [ "either", "env_logger 0.9.3", "futures", - "if-addrs", + "if-addrs 0.8.0", "libp2p", "log", "rand 0.8.5", @@ -2838,14 +2848,17 @@ dependencies = [ name = "libp2p-websocket" version = "0.41.0" dependencies = [ + "async-std", "either", "futures", "futures-rustls", "libp2p-core", + "libp2p-dns", "libp2p-tcp", "log", "parking_lot 0.12.1", "quicksink", + "rcgen 0.9.3", "rw-stream-sink", "soketto", "url", diff --git a/Cargo.toml b/Cargo.toml index 4e678204..5ed3d773 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,7 @@ yamux = ["dep:libp2p-yamux"] [dependencies] bytes = "1" -futures = "0.3.1" +futures = "0.3.26" futures-timer = "3.0.2" # Explicit dependency to be used in `wasm-bindgen` feature getrandom = "0.2.3" # Explicit dependency to be used in `wasm-bindgen` feature instant = "0.1.11" # Explicit dependency to be used in `wasm-bindgen` feature diff --git a/core/Cargo.toml b/core/Cargo.toml index d52fa058..edc9eafb 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -16,7 +16,7 @@ bs58 = "0.4.0" ed25519-dalek = "1.0.1" either = "1.5" fnv = "1.0" -futures = { version = "0.3.1", features = ["executor", "thread-pool"] } +futures = { version = "0.3.26", features = ["executor", "thread-pool"] } futures-timer = "3" instant = "0.1.11" libsecp256k1 = { version = "0.7.0", optional = true } diff --git a/core/src/either.rs b/core/src/either.rs index 0641cd78..8049717a 100644 --- a/core/src/either.rs +++ b/core/src/either.rs @@ -41,7 +41,7 @@ where self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll> { - match as_pin_mut(self) { + match self.as_pin_mut() { future::Either::Left(inner) => inner .poll_inbound(cx) .map_ok(future::Either::Left) @@ -57,7 +57,7 @@ where self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll> { - match as_pin_mut(self) { + match self.as_pin_mut() { future::Either::Left(inner) => inner .poll_outbound(cx) .map_ok(future::Either::Left) @@ -70,7 +70,7 @@ where } fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - match as_pin_mut(self) { + match self.as_pin_mut() { future::Either::Left(inner) => inner.poll_close(cx).map_err(Either::Left), future::Either::Right(inner) => inner.poll_close(cx).map_err(Either::Right), } @@ -80,35 +80,13 @@ where self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll> { - match as_pin_mut(self) { + match self.as_pin_mut() { future::Either::Left(inner) => inner.poll(cx).map_err(Either::Left), future::Either::Right(inner) => inner.poll(cx).map_err(Either::Right), } } } -/// Convert `Pin<&mut Either>` to `Either, Pin<&mut B>>`, -/// pinned projections of the inner variants. -/// -/// Local function until is merged. -fn as_pin_mut( - either: Pin<&mut future::Either>, -) -> future::Either, Pin<&mut B>> { - // SAFETY: `get_unchecked_mut` is fine because we don't move anything. - // We can use `new_unchecked` because the `inner` parts are guaranteed - // to be pinned, as they come from `self` which is pinned, and we never - // offer an unpinned `&mut L` or `&mut R` through `Pin<&mut Self>`. We - // also don't have an implementation of `Drop`, nor manual `Unpin`. - unsafe { - match *Pin::get_unchecked_mut(either) { - future::Either::Left(ref mut inner) => future::Either::Left(Pin::new_unchecked(inner)), - future::Either::Right(ref mut inner) => { - future::Either::Right(Pin::new_unchecked(inner)) - } - } - } -} - /// Implements `Future` and dispatches all method calls to either `First` or `Second`. #[pin_project(project = EitherFutureProj)] #[derive(Debug, Copy, Clone)] diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 2543631b..ab16ff41 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -9,7 +9,7 @@ anyhow = "1" async-trait = "0.1.58" either = "1.8.0" env_logger = "0.9.0" -futures = "0.3.1" +futures = "0.3.26" if-addrs = "0.8.0" libp2p = { path = "../", default_features = false, features = ["websocket", "quic", "mplex", "yamux", "tcp", "tokio", "ping", "noise", "tls", "dns", "rsa", "macros", "webrtc"] } log = "0.4" diff --git a/misc/metrics/Cargo.toml b/misc/metrics/Cargo.toml index cbbc0ab8..e51dd368 100644 --- a/misc/metrics/Cargo.toml +++ b/misc/metrics/Cargo.toml @@ -33,7 +33,7 @@ libp2p-gossipsub = { version = "0.44.0", path = "../../protocols/gossipsub", op [dev-dependencies] env_logger = "0.10.0" -futures = "0.3.1" +futures = "0.3.26" hyper = { version="0.14", features = ["server", "tcp", "http1"] } libp2p-noise = { path = "../../transports/noise" } libp2p-ping = { path = "../../protocols/ping" } diff --git a/misc/rw-stream-sink/Cargo.toml b/misc/rw-stream-sink/Cargo.toml index df6b39cb..9fc07174 100644 --- a/misc/rw-stream-sink/Cargo.toml +++ b/misc/rw-stream-sink/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["networking"] categories = ["network-programming", "asynchronous"] [dependencies] -futures = "0.3.1" +futures = "0.3.26" pin-project = "1.0.10" static_assertions = "1" diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index 0eb7b564..50c7e823 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] bytes = "1" -futures = "0.3.1" +futures = "0.3.26" asynchronous-codec = "0.6" libp2p-core = { version = "0.39.0", path = "../../core" } log = "0.4" diff --git a/muxers/test-harness/Cargo.toml b/muxers/test-harness/Cargo.toml index 43b75132..845ee540 100644 --- a/muxers/test-harness/Cargo.toml +++ b/muxers/test-harness/Cargo.toml @@ -9,6 +9,6 @@ license = "MIT" [dependencies] libp2p-core = { path = "../../core" } -futures = "0.3.24" +futures = "0.3.26" log = "0.4" futures-timer = "3.0.2" diff --git a/muxers/yamux/Cargo.toml b/muxers/yamux/Cargo.toml index 26a8f6bc..742888c1 100644 --- a/muxers/yamux/Cargo.toml +++ b/muxers/yamux/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -futures = "0.3.1" +futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } parking_lot = "0.12" thiserror = "1.0" diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index 1a7dcaf1..84136be4 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] asynchronous-codec = "0.6" bytes = "1" either = "1.6.0" -futures = "0.3.1" +futures = "0.3.26" futures-timer = "3.0" instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../../core" } diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index 8843edad..a9ee28e7 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] asynchronous-codec = "0.6" cuckoofilter = "0.5.0" fnv = "1.0" -futures = "0.3.1" +futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } log = "0.4" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 02234bab..cb7579cd 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -16,7 +16,7 @@ libp2p-core = { version = "0.39.0", path = "../../core" } bytes = "1.0" byteorder = "1.3.4" fnv = "1.0.7" -futures = "0.3.5" +futures = "0.3.26" rand = "0.8" asynchronous-codec = "0.6" unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] } diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 3e844a2c..9f9a5fa2 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = "0.6" -futures = "0.3.1" +futures = "0.3.26" futures-timer = "3.0.2" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 127719fa..26c19275 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -16,7 +16,7 @@ bytes = "1" either = "1.5" fnv = "1.0" asynchronous-codec = "0.6" -futures = "0.3.1" +futures = "0.3.26" log = "0.4" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index d18d7813..21562d90 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] async-io = { version = "1.3.1", optional = true } data-encoding = "2.3.2" -futures = "0.3.13" +futures = "0.3.26" if-watch = "3.0.0" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index a23d7eb4..57fa5932 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] either = "1.8.0" -futures = "0.3.1" +futures = "0.3.26" futures-timer = "3.0.2" instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../../core" } diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 1ff51580..478befb6 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] asynchronous-codec = "0.6" bytes = "1" either = "1.6.0" -futures = "0.3.1" +futures = "0.3.26" futures-timer = "3" instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../../core" } diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index 7c8d9f15..2e010fd5 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] async-trait = "0.1" bytes = "1" -futures = "0.3.1" +futures = "0.3.26" instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 0fcb0450..7ccc0fc6 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] either = "1.6.0" fnv = "1.0" -futures = "0.3.1" +futures = "0.3.26" futures-timer = "3.0.2" instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../core" } @@ -41,7 +41,7 @@ wasm-bindgen = ["dep:wasm-bindgen-futures", "dep:getrandom"] async-std = { version = "1.6.2", features = ["attributes"] } either = "1.6.0" env_logger = "0.10" -futures = "0.3.1" +futures = "0.3.26" libp2p-identify = { path = "../protocols/identify" } libp2p-kad = { path = "../protocols/kad" } libp2p-ping = { path = "../protocols/ping" } diff --git a/transports/deflate/Cargo.toml b/transports/deflate/Cargo.toml index 96ac149a..6833ec99 100644 --- a/transports/deflate/Cargo.toml +++ b/transports/deflate/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -futures = "0.3.1" +futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } flate2 = "1.0" diff --git a/transports/dns/Cargo.toml b/transports/dns/Cargo.toml index 7452b20d..a53fa2d5 100644 --- a/transports/dns/Cargo.toml +++ b/transports/dns/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] libp2p-core = { version = "0.39.0", path = "../../core" } log = "0.4.1" -futures = "0.3.1" +futures = "0.3.26" async-std-resolver = { version = "0.22", optional = true } parking_lot = "0.12.0" trust-dns-resolver = { version = "0.22", default-features = false, features = ["system-config"] } diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index 69ae3c07..18b148a0 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/libp2p/rust-libp2p" [dependencies] bytes = "1" curve25519-dalek = "3.0.0" -futures = "0.3.1" +futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } log = "0.4" once_cell = "1.16.0" diff --git a/transports/plaintext/Cargo.toml b/transports/plaintext/Cargo.toml index 7e1318e0..722bf1da 100644 --- a/transports/plaintext/Cargo.toml +++ b/transports/plaintext/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = "0.6" bytes = "1" -futures = "0.3.1" +futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } log = "0.4.8" prost = "0.11" diff --git a/transports/pnet/Cargo.toml b/transports/pnet/Cargo.toml index 1e74be39..8dec21dd 100644 --- a/transports/pnet/Cargo.toml +++ b/transports/pnet/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -futures = "0.3.1" +futures = "0.3.26" log = "0.4.8" salsa20 = "0.10" sha3 = "0.10" diff --git a/transports/quic/Cargo.toml b/transports/quic/Cargo.toml index 056e7c9c..92f30fb0 100644 --- a/transports/quic/Cargo.toml +++ b/transports/quic/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT" [dependencies] async-std = { version = "1.12.0", optional = true } bytes = "1.2.1" -futures = "0.3.15" +futures = "0.3.26" futures-timer = "3.0.2" if-watch = "3.0.0" libp2p-core = { version = "0.39.0", path = "../../core" } diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index e2f4499a..43f512e7 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] async-io = { version = "1.2.0", optional = true } -futures = "0.3.8" +futures = "0.3.26" futures-timer = "3.0" if-watch = "3.0.0" libc = "0.2.80" diff --git a/transports/tls/Cargo.toml b/transports/tls/Cargo.toml index 9fe34000..ffff5e73 100644 --- a/transports/tls/Cargo.toml +++ b/transports/tls/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" exclude = ["src/test_assets"] [dependencies] -futures = { version = "0.3.24", default-features = false } +futures = { version = "0.3.26", default-features = false } futures-rustls = "0.22.2" libp2p-core = { version = "0.39.0", path = "../../core" } rcgen = "0.10.0" diff --git a/transports/uds/Cargo.toml b/transports/uds/Cargo.toml index 8c250b63..476888c8 100644 --- a/transports/uds/Cargo.toml +++ b/transports/uds/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] async-std = { version = "1.6.2", optional = true } libp2p-core = { version = "0.39.0", path = "../../core" } log = "0.4.1" -futures = "0.3.1" +futures = "0.3.26" tokio = { version = "1.15", default-features = false, features = ["net"], optional = true } [target.'cfg(all(unix, not(target_os = "emscripten")))'.dev-dependencies] diff --git a/transports/wasm-ext/Cargo.toml b/transports/wasm-ext/Cargo.toml index 2ec66aaa..829c66f3 100644 --- a/transports/wasm-ext/Cargo.toml +++ b/transports/wasm-ext/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -futures = "0.3.1" +futures = "0.3.26" js-sys = "0.3.50" libp2p-core = { version = "0.39.0", path = "../../core" } parity-send-wrapper = "0.1.0" diff --git a/transports/websocket/Cargo.toml b/transports/websocket/Cargo.toml index 99b74a5a..1dc18733 100644 --- a/transports/websocket/Cargo.toml +++ b/transports/websocket/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures-rustls = "0.22" either = "1.5.3" -futures = "0.3.1" +futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } log = "0.4.8" parking_lot = "0.12.0"