From 342493d8b434d2aa45ca3fde90378deb900962ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 04:29:12 +0000 Subject: [PATCH] deps: bump tokio from 1.36.0 to 1.37.0 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.36.0 to 1.37.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- examples/autonat/Cargo.toml | 2 +- examples/browser-webrtc/Cargo.toml | 2 +- examples/chat/Cargo.toml | 2 +- examples/dcutr/Cargo.toml | 2 +- examples/ipfs-kad/Cargo.toml | 2 +- examples/ipfs-private/Cargo.toml | 2 +- examples/ping/Cargo.toml | 2 +- examples/rendezvous/Cargo.toml | 2 +- examples/stream/Cargo.toml | 2 +- hole-punching-tests/Cargo.toml | 2 +- interop-tests/Cargo.toml | 2 +- misc/futures-bounded/Cargo.toml | 2 +- protocols/mdns/Cargo.toml | 4 ++-- protocols/perf/Cargo.toml | 2 +- protocols/rendezvous/Cargo.toml | 2 +- protocols/upnp/Cargo.toml | 2 +- swarm/Cargo.toml | 4 ++-- transports/pnet/Cargo.toml | 2 +- transports/quic/Cargo.toml | 4 ++-- transports/tcp/Cargo.toml | 4 ++-- transports/tls/Cargo.toml | 2 +- transports/uds/Cargo.toml | 2 +- transports/webrtc/Cargo.toml | 4 ++-- 24 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1ed06136646..8f63f36d7a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5858,9 +5858,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.36.0" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", diff --git a/examples/autonat/Cargo.toml b/examples/autonat/Cargo.toml index 642e621c257..533165ed0fc 100644 --- a/examples/autonat/Cargo.toml +++ b/examples/autonat/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" release = false [dependencies] -tokio = { version = "1.36", features = ["full"] } +tokio = { version = "1.37", features = ["full"] } clap = { version = "4.4.16", features = ["derive"] } futures = "0.3.30" libp2p = { path = "../../libp2p", features = ["tokio", "tcp", "noise", "yamux", "autonat", "identify", "macros"] } diff --git a/examples/browser-webrtc/Cargo.toml b/examples/browser-webrtc/Cargo.toml index 5e3c8a0c666..efc7601916f 100644 --- a/examples/browser-webrtc/Cargo.toml +++ b/examples/browser-webrtc/Cargo.toml @@ -27,7 +27,7 @@ axum = "0.7.4" libp2p = { path = "../../libp2p", features = [ "ed25519", "macros", "ping", "tokio"] } libp2p-webrtc = { workspace = true, features = ["tokio"] } rust-embed = { version = "8.2.0", features = ["include-exclude", "interpolate-folder-path"] } -tokio = { version = "1.36", features = ["macros", "net", "rt", "signal"] } +tokio = { version = "1.37", features = ["macros", "net", "rt", "signal"] } tokio-util = { version = "0.7", features = ["compat"] } tower = "0.4" tower-http = { version = "0.5.1", features = ["cors"] } diff --git a/examples/chat/Cargo.toml b/examples/chat/Cargo.toml index a16c930e5b3..4fb0243dd90 100644 --- a/examples/chat/Cargo.toml +++ b/examples/chat/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" release = false [dependencies] -tokio = { version = "1.36", features = ["full"] } +tokio = { version = "1.37", features = ["full"] } async-trait = "0.1" futures = "0.3.30" libp2p = { path = "../../libp2p", features = [ "tokio", "gossipsub", "mdns", "noise", "macros", "tcp", "yamux", "quic"] } diff --git a/examples/dcutr/Cargo.toml b/examples/dcutr/Cargo.toml index 8443e9a59c7..23fba0f23ff 100644 --- a/examples/dcutr/Cargo.toml +++ b/examples/dcutr/Cargo.toml @@ -14,7 +14,7 @@ futures = "0.3.30" futures-timer = "3.0" libp2p = { path = "../../libp2p", features = [ "dns", "dcutr", "identify", "macros", "noise", "ping", "quic", "relay", "rendezvous", "tcp", "tokio", "yamux"] } log = "0.4" -tokio = { version = "1.36", features = ["macros", "net", "rt", "signal"] } +tokio = { version = "1.37", features = ["macros", "net", "rt", "signal"] } tracing = "0.1.37" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/examples/ipfs-kad/Cargo.toml b/examples/ipfs-kad/Cargo.toml index 5581728794e..4927938630e 100644 --- a/examples/ipfs-kad/Cargo.toml +++ b/examples/ipfs-kad/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" release = false [dependencies] -tokio = { version = "1.36", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.37", features = ["rt-multi-thread", "macros"] } async-trait = "0.1" clap = { version = "4.4.16", features = ["derive"] } env_logger = "0.10" diff --git a/examples/ipfs-private/Cargo.toml b/examples/ipfs-private/Cargo.toml index daa68cd8f5a..ccfe7484f6a 100644 --- a/examples/ipfs-private/Cargo.toml +++ b/examples/ipfs-private/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" release = false [dependencies] -tokio = { version = "1.36", features = ["rt-multi-thread", "macros", "io-std"] } +tokio = { version = "1.37", features = ["rt-multi-thread", "macros", "io-std"] } async-trait = "0.1" either = "1.9" futures = "0.3.30" diff --git a/examples/ping/Cargo.toml b/examples/ping/Cargo.toml index db47e4e2d8e..3ba28b54a5c 100644 --- a/examples/ping/Cargo.toml +++ b/examples/ping/Cargo.toml @@ -11,7 +11,7 @@ release = false [dependencies] futures = "0.3.30" libp2p = { path = "../../libp2p", features = ["noise", "ping", "tcp", "tokio", "yamux"] } -tokio = { version = "1.36.0", features = ["full"] } +tokio = { version = "1.37.0", features = ["full"] } tracing = "0.1.37" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/examples/rendezvous/Cargo.toml b/examples/rendezvous/Cargo.toml index edd5b8031a4..14ce7d58012 100644 --- a/examples/rendezvous/Cargo.toml +++ b/examples/rendezvous/Cargo.toml @@ -13,7 +13,7 @@ async-std = { version = "1.12", features = ["attributes"] } async-trait = "0.1" futures = "0.3.30" libp2p = { path = "../../libp2p", features = [ "async-std", "identify", "macros", "noise", "ping", "rendezvous", "tcp", "tokio", "yamux"] } -tokio = { version = "1.36", features = ["rt-multi-thread", "macros", "time"] } +tokio = { version = "1.37", features = ["rt-multi-thread", "macros", "time"] } tracing = "0.1.37" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/examples/stream/Cargo.toml b/examples/stream/Cargo.toml index 37f84e6ed62..64ca12fbb46 100644 --- a/examples/stream/Cargo.toml +++ b/examples/stream/Cargo.toml @@ -14,7 +14,7 @@ futures = "0.3.29" libp2p = { path = "../../libp2p", features = [ "tokio", "quic"] } libp2p-stream = { path = "../../protocols/stream", version = "0.1.0-alpha" } rand = "0.8" -tokio = { version = "1.36", features = ["full"] } +tokio = { version = "1.37", features = ["full"] } tracing = "0.1.37" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/hole-punching-tests/Cargo.toml b/hole-punching-tests/Cargo.toml index 9e6fb15965d..8c383371c91 100644 --- a/hole-punching-tests/Cargo.toml +++ b/hole-punching-tests/Cargo.toml @@ -12,7 +12,7 @@ futures = "0.3.30" libp2p = { path = "../libp2p", features = ["tokio", "dcutr", "identify", "macros", "noise", "ping", "relay", "tcp", "yamux", "quic"] } tracing = "0.1.37" redis = { version = "0.23.0", default-features = false, features = ["tokio-comp"] } -tokio = { version = "1.36.0", features = ["full"] } +tokio = { version = "1.37.0", features = ["full"] } serde = { version = "1.0.196", features = ["derive"] } serde_json = "1.0.113" either = "1.9.0" diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 81c17e19303..dbb4d5a6569 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -34,7 +34,7 @@ redis = { version = "0.23.3", default-features = false, features = [ rust-embed = "8.2" serde_json = "1" thirtyfour = "=0.32.0-rc.8" # https://github.com/stevepryde/thirtyfour/issues/169 -tokio = { version = "1.36.0", features = ["full"] } +tokio = { version = "1.37.0", features = ["full"] } tower-http = { version = "0.5", features = ["cors", "fs", "trace"] } tracing = "0.1.37" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/misc/futures-bounded/Cargo.toml b/misc/futures-bounded/Cargo.toml index 89288b6f70c..a8a5d6ed11a 100644 --- a/misc/futures-bounded/Cargo.toml +++ b/misc/futures-bounded/Cargo.toml @@ -17,7 +17,7 @@ futures-util = { version = "0.3.30" } futures-timer = "3.0.2" [dev-dependencies] -tokio = { version = "1.36.0", features = ["macros", "rt", "sync"] } +tokio = { version = "1.37.0", features = ["macros", "rt", "sync"] } futures = "0.3.30" [lints] diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index ef273781b78..5acf1bcc4c5 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -22,7 +22,7 @@ libp2p-identity = { workspace = true } rand = "0.8.3" smallvec = "1.12.0" socket2 = { version = "0.5.5", features = ["all"] } -tokio = { version = "1.36", default-features = false, features = ["net", "time"], optional = true} +tokio = { version = "1.37", default-features = false, features = ["net", "time"], optional = true} tracing = "0.1.37" hickory-proto = { version = "0.24.0", default-features = false, features = ["mdns"] } void = "1.0.2" @@ -37,7 +37,7 @@ libp2p-noise = { workspace = true } libp2p-swarm = { workspace = true, features = ["tokio", "async-std"] } libp2p-tcp = { workspace = true, features = ["tokio", "async-io"] } libp2p-yamux = { workspace = true } -tokio = { version = "1.36", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] } +tokio = { version = "1.37", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] } libp2p-swarm-test = { path = "../../swarm-test" } tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/protocols/perf/Cargo.toml b/protocols/perf/Cargo.toml index 68b1088a42c..64c426419ee 100644 --- a/protocols/perf/Cargo.toml +++ b/protocols/perf/Cargo.toml @@ -31,7 +31,7 @@ serde_json = "1.0" thiserror = "1.0" tracing = "0.1.37" tracing-subscriber = { version = "0.3", features = ["env-filter"] } -tokio = { version = "1.36", default-features = false, features = ["macros", "rt", "rt-multi-thread"] } +tokio = { version = "1.37", default-features = false, features = ["macros", "rt", "rt-multi-thread"] } void = "1" [dev-dependencies] diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index f9272d011e3..6335aa3821c 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -37,7 +37,7 @@ libp2p-swarm-test = { path = "../../swarm-test" } libp2p-tcp = { workspace = true, features = ["tokio"] } libp2p-yamux = { workspace = true } rand = "0.8" -tokio = { version = "1.36", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } +tokio = { version = "1.37", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Passing arguments to the docsrs builder in order to properly document cfg's. diff --git a/protocols/upnp/Cargo.toml b/protocols/upnp/Cargo.toml index a9c9a3c8621..086da66a578 100644 --- a/protocols/upnp/Cargo.toml +++ b/protocols/upnp/Cargo.toml @@ -16,7 +16,7 @@ futures-timer = "3.0.2" igd-next = "0.14.3" libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } -tokio = { version = "1.36", default-features = false, features = ["rt"], optional = true } +tokio = { version = "1.37", default-features = false, features = ["rt"], optional = true } tracing = "0.1.37" void = "1.0.2" diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index a700c1c1c5a..52ae1998636 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -31,7 +31,7 @@ wasm-bindgen-futures = { version = "0.4.41", optional = true } [target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies] async-std = { version = "1.6.2", optional = true } -tokio = { version = "1.36", features = ["rt"], optional = true } +tokio = { version = "1.37", features = ["rt"], optional = true } [features] macros = ["dep:libp2p-swarm-derive"] @@ -55,7 +55,7 @@ quickcheck = { workspace = true } void = "1" once_cell = "1.19.0" trybuild = "1.0.89" -tokio = { version = "1.36.0", features = ["time", "rt", "macros", "rt-multi-thread"] } +tokio = { version = "1.37.0", features = ["time", "rt", "macros", "rt-multi-thread"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } [[test]] diff --git a/transports/pnet/Cargo.toml b/transports/pnet/Cargo.toml index bdefa76bbd1..046176b1b6e 100644 --- a/transports/pnet/Cargo.toml +++ b/transports/pnet/Cargo.toml @@ -27,7 +27,7 @@ libp2p-tcp = { workspace = true, features = ["tokio"] } libp2p-websocket = { workspace = true } libp2p-yamux = { workspace = true } quickcheck = { workspace = true } -tokio = { version = "1.36.0", features = ["full"] } +tokio = { version = "1.37.0", features = ["full"] } # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling diff --git a/transports/quic/Cargo.toml b/transports/quic/Cargo.toml index b4bf93d6e10..13c04a6a2d5 100644 --- a/transports/quic/Cargo.toml +++ b/transports/quic/Cargo.toml @@ -22,7 +22,7 @@ quinn = { version = "0.10.2", default-features = false, features = ["tls-rustls" rand = "0.8.5" rustls = { version = "0.21.9", default-features = false } thiserror = "1.0.57" -tokio = { version = "1.36.0", default-features = false, features = ["net", "rt", "time"], optional = true } +tokio = { version = "1.37.0", default-features = false, features = ["net", "rt", "time"], optional = true } tracing = "0.1.37" socket2 = "0.5.5" ring = "0.16.20" @@ -46,7 +46,7 @@ libp2p-noise = { workspace = true } libp2p-tcp = { workspace = true, features = ["async-io"] } libp2p-yamux = { workspace = true } quickcheck = "1" -tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread", "time"] } +tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread", "time"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } [[test]] diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index 515d47d2a5a..8fa463c0e43 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -19,7 +19,7 @@ libc = "0.2.153" libp2p-core = { workspace = true } libp2p-identity = { workspace = true } socket2 = { version = "0.5.5", features = ["all"] } -tokio = { version = "1.36.0", default-features = false, features = ["net"], optional = true } +tokio = { version = "1.37.0", default-features = false, features = ["net"], optional = true } tracing = "0.1.37" [features] @@ -29,7 +29,7 @@ async-io = ["dep:async-io", "if-watch/smol"] [dev-dependencies] async-std = { version = "1.6.5", features = ["attributes"] } libp2p-identity = { workspace = true, features = ["rand"] } -tokio = { version = "1.36.0", default-features = false, features = ["full"] } +tokio = { version = "1.37.0", default-features = false, features = ["full"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Passing arguments to the docsrs builder in order to properly document cfg's. diff --git a/transports/tls/Cargo.toml b/transports/tls/Cargo.toml index 0ca134d418b..6bd9f1320d0 100644 --- a/transports/tls/Cargo.toml +++ b/transports/tls/Cargo.toml @@ -33,7 +33,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true, features = ["ed25519", "rsa", "secp256k1", "ecdsa", "rand"] } libp2p-swarm = { workspace = true, features = ["tokio"] } libp2p-yamux = { workspace = true } -tokio = { version = "1.36.0", features = ["full"] } +tokio = { version = "1.37.0", features = ["full"] } # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling diff --git a/transports/uds/Cargo.toml b/transports/uds/Cargo.toml index 7b01e0e38d5..b9ae6af7425 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 = { workspace = true } futures = "0.3.30" -tokio = { version = "1.36", default-features = false, features = ["net"], optional = true } +tokio = { version = "1.37", default-features = false, features = ["net"], optional = true } tracing = "0.1.37" [dev-dependencies] diff --git a/transports/webrtc/Cargo.toml b/transports/webrtc/Cargo.toml index 1bd1bd57a61..883d5c92a6c 100644 --- a/transports/webrtc/Cargo.toml +++ b/transports/webrtc/Cargo.toml @@ -28,7 +28,7 @@ serde = { version = "1.0", features = ["derive"] } stun = "0.5" thiserror = "1" tinytemplate = "1.2" -tokio = { version = "1.36", features = ["net"], optional = true } +tokio = { version = "1.37", features = ["net"], optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true } tracing = "0.1.37" webrtc = { version = "0.9.0", optional = true } @@ -39,7 +39,7 @@ pem = ["webrtc?/pem"] [dev-dependencies] libp2p-identity = { workspace = true, features = ["rand"] } -tokio = { version = "1.36", features = ["full"] } +tokio = { version = "1.37", features = ["full"] } quickcheck = "1.0.3" tracing-subscriber = { version = "0.3", features = ["env-filter"] }