diff --git a/Cargo.lock b/Cargo.lock index 900eac1b..5c171247 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4838,7 +4838,7 @@ dependencies = [ "httpdate", "itoa 1.0.15", "pin-project-lite", - "socket2", + "socket2 0.5.10", "tokio", "tower-service", "tracing", @@ -4918,7 +4918,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2", + "socket2 0.5.10", "system-configuration", "tokio", "tower-service", @@ -5208,6 +5208,17 @@ dependencies = [ "rustversion", ] +[[package]] +name = "io-uring" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" +dependencies = [ + "bitflags 2.9.1", + "cfg-if", + "libc", +] + [[package]] name = "ioctl-rs" version = "0.1.6" @@ -7836,7 +7847,7 @@ dependencies = [ "quinn-udp", "rustc-hash 2.1.1", "rustls 0.23.28", - "socket2", + "socket2 0.5.10", "thiserror 2.0.12", "tokio", "tracing", @@ -7873,7 +7884,7 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2", + "socket2 0.5.10", "tracing", "windows-sys 0.59.0", ] @@ -9138,6 +9149,16 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "socket2" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + [[package]] name = "socks" version = "0.3.4" @@ -9866,21 +9887,23 @@ dependencies = [ [[package]] name = "tokio" -version = "1.45.1" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", "bytes", + "io-uring", "libc", "mio", "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2", + "slab", + "socket2 0.6.0", "tokio-macros", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7102541d..e0ff23a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -148,7 +148,7 @@ time = { version = "0.3.39", features = [ "macros", "serde", ] } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.47.1", features = ["full"] } tokio-tungstenite = "0.26.2" tokio-util = { version = "0.7.15", features = ["codec", "compat"] } toml = "0.8.12" diff --git a/crates/chat-cli/Cargo.toml b/crates/chat-cli/Cargo.toml index f5514cf2..871fa5e7 100644 --- a/crates/chat-cli/Cargo.toml +++ b/crates/chat-cli/Cargo.toml @@ -138,7 +138,7 @@ time = { version = "0.3.39", features = [ "macros", "serde", ] } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.47.1", features = ["full"] } tokio-tungstenite = "0.26.2" tokio-util = { version = "0.7.15", features = ["codec", "compat"] } toml = "0.8.12" diff --git a/crates/zbus/Cargo.toml b/crates/zbus/Cargo.toml index 4114317a..465ec754 100644 --- a/crates/zbus/Cargo.toml +++ b/crates/zbus/Cargo.toml @@ -68,7 +68,7 @@ static_assertions = "1.1.0" async-trait = "0.1.87" async-fs = { version = "2.1.2", optional = true } # FIXME: We should only enable process feature for Mac OS. See comment on async-process below for why we can't. -tokio = { version = "1.45.0", optional = true, features = [ +tokio = { version = "1.47.1", optional = true, features = [ "rt", "net", "time", @@ -120,7 +120,7 @@ ntest = "0.9.2" test-log = { version = "0.2.17", features = [ "trace", ], default-features = false } -tokio = { version = "1.45.0", features = [ +tokio = { version = "1.47.1", features = [ "macros", "rt-multi-thread", "fs",