diff --git a/Cargo.lock b/Cargo.lock index ab0dd1b8fd6..3f479b5872e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1957,7 +1957,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.9", + "socket2 0.6.3", "system-configuration 0.6.1", "tokio", "tower-service", @@ -3523,13 +3523,13 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "mio" -version = "1.0.3" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -4306,7 +4306,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "socket2 0.5.9", + "socket2 0.6.3", "thiserror 2.0.18", "tokio", "tracing", @@ -5452,7 +5452,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.2", + "getrandom 0.4.2", "once_cell", "rustix 1.1.4", "windows-sys 0.61.2", @@ -5622,9 +5622,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.50.0" +version = "1.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d" +checksum = "f66bf9585cda4b724d3e78ab34b73fb2bbaba9011b9bfdf69dc836382ea13b8c" dependencies = [ "bytes", "libc", @@ -5639,9 +5639,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.6.1" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c55a2eff8b69ce66c84f85e1da1c233edc36ceb85a2058d11b0d6a3c7e7569c" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index df56e542d67..30cecf87447 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,7 +137,7 @@ rcgen = "0.13" ring = "0.17.12" rw-stream-sink = { version = "0.5.0", path = "misc/rw-stream-sink" } thiserror = "2" -tokio = { version = "1.50", default-features = false } +tokio = { version = "1.51", default-features = false } tracing = "0.1.44" tracing-subscriber = "0.3.23" unsigned-varint = { version = "0.8.0" } diff --git a/examples/autonatv2/Cargo.toml b/examples/autonatv2/Cargo.toml index c45d9290a70..b116144128f 100644 --- a/examples/autonatv2/Cargo.toml +++ b/examples/autonatv2/Cargo.toml @@ -17,7 +17,7 @@ name = "autonatv2_server" [dependencies] libp2p = { workspace = true, features = ["macros", "tokio", "tcp", "noise", "yamux", "autonat", "identify", "dns", "quic"] } clap = { version = "4.5.60", features = ["derive"] } -tokio = { version = "1.50.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.51.1", features = ["macros", "rt-multi-thread"] } tracing = "0.1.44" tracing-subscriber = { workspace = true, features = ["env-filter"] } rand = "0.8.5" diff --git a/examples/identify/Cargo.toml b/examples/identify/Cargo.toml index 9083f9be575..d52c3441667 100644 --- a/examples/identify/Cargo.toml +++ b/examples/identify/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" release = false [dependencies] -tokio = { version = "1.50.0", features = ["full"] } +tokio = { version = "1.51.1", features = ["full"] } futures = { workspace = true } libp2p = { path = "../../libp2p", features = ["identify", "noise", "tcp", "tokio", "yamux"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/examples/relay-server/Cargo.toml b/examples/relay-server/Cargo.toml index ddff43e3f67..c392858b371 100644 --- a/examples/relay-server/Cargo.toml +++ b/examples/relay-server/Cargo.toml @@ -10,7 +10,7 @@ release = false [dependencies] clap = { version = "4.5.60", features = ["derive"] } -tokio = { version = "1.50.0", features = ["full"] } +tokio = { version = "1.51.1", features = ["full"] } futures = { workspace = true } libp2p = { path = "../../libp2p", features = ["tokio", "noise", "macros", "ping", "tcp", "identify", "yamux", "relay", "quic"] } tracing-subscriber = { workspace = true, features = ["env-filter"] }