diff --git a/Cargo.lock b/Cargo.lock index 2785070d7ef..ff024cbc90b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5559,9 +5559,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.32.0" +version = "1.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" +checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" dependencies = [ "backtrace", "bytes", diff --git a/examples/autonat/Cargo.toml b/examples/autonat/Cargo.toml index 332f77f04a7..f720b191e68 100644 --- a/examples/autonat/Cargo.toml +++ b/examples/autonat/Cargo.toml @@ -6,7 +6,7 @@ publish = false license = "MIT" [dependencies] -tokio = { version = "1.32", features = ["full"] } +tokio = { version = "1.33", features = ["full"] } clap = { version = "4.3.23", features = ["derive"] } env_logger = "0.10.0" futures = "0.3.28" diff --git a/examples/browser-webrtc/Cargo.toml b/examples/browser-webrtc/Cargo.toml index f6b47d4ded9..eed983a3ca8 100644 --- a/examples/browser-webrtc/Cargo.toml +++ b/examples/browser-webrtc/Cargo.toml @@ -24,7 +24,7 @@ axum = "0.6.19" libp2p = { path = "../../libp2p", features = [ "ed25519", "macros", "ping", "wasm-bindgen", "tokio"] } libp2p-webrtc = { workspace = true, features = ["tokio"] } rust-embed = { version = "8.0.0", features = ["include-exclude", "interpolate-folder-path"] } -tokio = { version = "1.29", features = ["macros", "net", "rt", "signal"] } +tokio = { version = "1.33", features = ["macros", "net", "rt", "signal"] } tokio-util = { version = "0.7", features = ["compat"] } tower = "0.4" tower-http = { version = "0.4.0", features = ["cors"] } diff --git a/examples/chat/Cargo.toml b/examples/chat/Cargo.toml index cee9e553e27..ee82c6dccbe 100644 --- a/examples/chat/Cargo.toml +++ b/examples/chat/Cargo.toml @@ -6,7 +6,7 @@ publish = false license = "MIT" [dependencies] -tokio = { version = "1.32", features = ["full"] } +tokio = { version = "1.33", features = ["full"] } async-trait = "0.1" env_logger = "0.10.0" futures = "0.3.28" diff --git a/examples/ipfs-kad/Cargo.toml b/examples/ipfs-kad/Cargo.toml index ae524e3857b..025cf2598fc 100644 --- a/examples/ipfs-kad/Cargo.toml +++ b/examples/ipfs-kad/Cargo.toml @@ -6,7 +6,7 @@ publish = false license = "MIT" [dependencies] -tokio = { version = "1.12", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.33", features = ["rt-multi-thread", "macros"] } async-trait = "0.1" clap = { version = "4.3.23", features = ["derive"] } env_logger = "0.10" diff --git a/examples/ipfs-private/Cargo.toml b/examples/ipfs-private/Cargo.toml index 4bf501886db..a042212b2d4 100644 --- a/examples/ipfs-private/Cargo.toml +++ b/examples/ipfs-private/Cargo.toml @@ -6,7 +6,7 @@ publish = false license = "MIT" [dependencies] -tokio = { version = "1.32", features = ["rt-multi-thread", "macros", "io-std"] } +tokio = { version = "1.33", features = ["rt-multi-thread", "macros", "io-std"] } async-trait = "0.1" either = "1.9" env_logger = "0.10" diff --git a/examples/ping/Cargo.toml b/examples/ping/Cargo.toml index b39df505b4a..04a6073f363 100644 --- a/examples/ping/Cargo.toml +++ b/examples/ping/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" env_logger = "0.10.0" futures = "0.3.28" libp2p = { path = "../../libp2p", features = ["noise", "ping", "tcp", "tokio", "yamux"] } -tokio = { version = "1.32.0", features = ["full"] } +tokio = { version = "1.33.0", features = ["full"] } [lints] workspace = true diff --git a/examples/rendezvous/Cargo.toml b/examples/rendezvous/Cargo.toml index e98f465bc3b..45ffc4e170a 100644 --- a/examples/rendezvous/Cargo.toml +++ b/examples/rendezvous/Cargo.toml @@ -12,7 +12,7 @@ env_logger = "0.10.0" futures = "0.3.28" libp2p = { path = "../../libp2p", features = [ "async-std", "identify", "macros", "noise", "ping", "rendezvous", "tcp", "tokio", "yamux"] } log = "0.4" -tokio = { version = "1.32", features = ["rt-multi-thread", "macros", "time"] } +tokio = { version = "1.33", features = ["rt-multi-thread", "macros", "time"] } [lints] workspace = true diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 59ff1f37fd3..c76aa12f8a0 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -29,7 +29,7 @@ redis = { version = "0.23.3", default-features = false, features = [ rust-embed = "8.0" serde_json = "1" thirtyfour = "=0.32.0-rc.8" # https://github.com/stevepryde/thirtyfour/issues/169 -tokio = { version = "1.32.0", features = ["full"] } +tokio = { version = "1.33.0", features = ["full"] } tower-http = { version = "0.4", features = ["cors", "fs", "trace"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/misc/futures-bounded/Cargo.toml b/misc/futures-bounded/Cargo.toml index 4d70779e282..52af0d228f2 100644 --- a/misc/futures-bounded/Cargo.toml +++ b/misc/futures-bounded/Cargo.toml @@ -17,7 +17,7 @@ futures-util = { version = "0.3.28" } futures-timer = "3.0.2" [dev-dependencies] -tokio = { version = "1.29.1", features = ["macros", "rt"] } +tokio = { version = "1.33.0", features = ["macros", "rt"] } [lints] workspace = true diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index da2c0c93241..74530d41e8b 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -22,7 +22,7 @@ log = "0.4.20" rand = "0.8.3" smallvec = "1.11.1" socket2 = { version = "0.5.4", features = ["all"] } -tokio = { version = "1.32", default-features = false, features = ["net", "time"], optional = true} +tokio = { version = "1.33", default-features = false, features = ["net", "time"], optional = true} trust-dns-proto = { version = "0.23.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.32", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] } +tokio = { version = "1.33", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] } libp2p-swarm-test = { path = "../../swarm-test" } [[test]] diff --git a/protocols/perf/Cargo.toml b/protocols/perf/Cargo.toml index 50ca36a99e2..c61deb37c29 100644 --- a/protocols/perf/Cargo.toml +++ b/protocols/perf/Cargo.toml @@ -30,7 +30,7 @@ log = "0.4" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -tokio = { version = "1.32.0", features = ["full"] } +tokio = { version = "1.33.0", features = ["full"] } void = "1" [dev-dependencies] diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index c3912b78ddf..3a61c21ffa2 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -37,7 +37,7 @@ libp2p-identify = { workspace = true } libp2p-yamux = { workspace = true } libp2p-tcp = { workspace = true, features = ["tokio"] } rand = "0.8" -tokio = { version = "1.32", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } +tokio = { version = "1.33", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } libp2p-swarm-test = { path = "../../swarm-test" } # 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 8a3c5e0ee90..fbef93550b0 100644 --- a/protocols/upnp/Cargo.toml +++ b/protocols/upnp/Cargo.toml @@ -18,7 +18,7 @@ libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } log = "0.4.19" void = "1.0.2" -tokio = { version = "1.29", default-features = false, features = ["rt"], optional = true } +tokio = { version = "1.33", default-features = false, features = ["rt"], optional = true } [features] tokio = ["igd-next/aio_tokio", "dep:tokio"] diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 038041c536f..2fc81b9356e 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -30,7 +30,7 @@ multistream-select = { workspace = 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.32", features = ["rt"], optional = true } +tokio = { version = "1.33", features = ["rt"], optional = true } [features] macros = ["dep:libp2p-swarm-derive"] @@ -55,7 +55,7 @@ quickcheck = { workspace = true } void = "1" once_cell = "1.18.0" trybuild = "1.0.85" -tokio = { version = "1.29.1", features = ["time", "rt", "macros"] } +tokio = { version = "1.33.0", features = ["time", "rt", "macros"] } [[test]] name = "swarm_derive" diff --git a/transports/pnet/Cargo.toml b/transports/pnet/Cargo.toml index 1a3a1224fbb..c6dd93f661a 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.32.0", features = ["full"] } +tokio = { version = "1.33.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 697c257fa52..57c24067f32 100644 --- a/transports/quic/Cargo.toml +++ b/transports/quic/Cargo.toml @@ -23,7 +23,7 @@ quinn = { version = "0.10.2", default-features = false, features = ["tls-rustls" rand = "0.8.5" rustls = { version = "0.21.7", default-features = false } thiserror = "1.0.49" -tokio = { version = "1.32.0", default-features = false, features = ["net", "rt", "time"], optional = true } +tokio = { version = "1.33.0", default-features = false, features = ["net", "rt", "time"], optional = true } socket2 = "0.5.4" 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.32.0", features = ["macros", "rt-multi-thread", "time"] } +tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread", "time"] } [[test]] name = "stream_compliance" diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index 14eec8c4caa..a0097440c3f 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -20,7 +20,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true } log = "0.4.20" socket2 = { version = "0.5.4", features = ["all"] } -tokio = { version = "1.32.0", default-features = false, features = ["net"], optional = true } +tokio = { version = "1.33.0", default-features = false, features = ["net"], optional = true } [features] tokio = ["dep:tokio", "if-watch/tokio"] @@ -28,7 +28,7 @@ async-io = ["dep:async-io", "if-watch/smol"] [dev-dependencies] async-std = { version = "1.6.5", features = ["attributes"] } -tokio = { version = "1.32.0", default-features = false, features = ["full"] } +tokio = { version = "1.33.0", default-features = false, features = ["full"] } env_logger = "0.10.0" # 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 b2ca28784f7..f59e56beb8f 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"] } libp2p-swarm = { workspace = true } libp2p-yamux = { workspace = true } -tokio = { version = "1.32.0", features = ["full"] } +tokio = { version = "1.33.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 1bc78ff35a9..0f6f81735fc 100644 --- a/transports/uds/Cargo.toml +++ b/transports/uds/Cargo.toml @@ -15,7 +15,7 @@ async-std = { version = "1.6.2", optional = true } libp2p-core = { workspace = true } log = "0.4.20" futures = "0.3.28" -tokio = { version = "1.32", default-features = false, features = ["net"], optional = true } +tokio = { version = "1.33", default-features = false, features = ["net"], optional = true } [dev-dependencies] tempfile = "3.8" diff --git a/transports/webrtc/Cargo.toml b/transports/webrtc/Cargo.toml index 1c5d23b4652..b9b181a5baa 100644 --- a/transports/webrtc/Cargo.toml +++ b/transports/webrtc/Cargo.toml @@ -29,7 +29,7 @@ serde = { version = "1.0", features = ["derive"] } stun = "0.5" thiserror = "1" tinytemplate = "1.2" -tokio = { version = "1.32", features = ["net"], optional = true } +tokio = { version = "1.33", features = ["net"], optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true } webrtc = { version = "0.9.0", optional = true } @@ -39,7 +39,7 @@ pem = ["webrtc?/pem"] [dev-dependencies] env_logger = "0.10" -tokio = { version = "1.32", features = ["full"] } +tokio = { version = "1.33", features = ["full"] } quickcheck = "1.0.3" [[test]]