diff --git a/Cargo.lock b/Cargo.lock index a191177..38e0a14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1385,6 +1385,17 @@ dependencies = [ "memoffset", ] +[[package]] +name = "io-uring" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013" +dependencies = [ + "bitflags", + "cfg-if", + "libc", +] + [[package]] name = "is_terminal_polyfill" version = "1.70.1" @@ -2902,15 +2913,17 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.45.1" +version = "1.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" +checksum = "1140bb80481756a8cbe10541f37433b459c5aa1e727b4c020fbfebdc25bf3ec4" dependencies = [ "backtrace", "bytes", + "io-uring", "libc", "mio", "pin-project-lite", + "slab", "socket2", "tokio-macros", "windows-sys 0.52.0", diff --git a/rpxy-acme/Cargo.toml b/rpxy-acme/Cargo.toml index 9e1484f..8e92ce5 100644 --- a/rpxy-acme/Cargo.toml +++ b/rpxy-acme/Cargo.toml @@ -33,7 +33,7 @@ rustls-acme = { path = "../submodules/rustls-acme/", default-features = false, f "aws-lc-rs", ] } rustls-post-quantum = { version = "0.2.2", optional = true } -tokio = { version = "1.45.1", default-features = false, features = [ +tokio = { version = "1.46.0", default-features = false, features = [ "rt", "macros", ] } diff --git a/rpxy-bin/Cargo.toml b/rpxy-bin/Cargo.toml index dfc7ae1..861b73b 100644 --- a/rpxy-bin/Cargo.toml +++ b/rpxy-bin/Cargo.toml @@ -46,7 +46,7 @@ mimalloc = { version = "0.1.47", default-features = false } anyhow = "1.0.98" ahash = "0.8.12" serde = { version = "1.0.219", default-features = false, features = ["derive"] } -tokio = { version = "1.45.1", default-features = false, features = [ +tokio = { version = "1.46.0", default-features = false, features = [ "net", "rt-multi-thread", "time", diff --git a/rpxy-certs/Cargo.toml b/rpxy-certs/Cargo.toml index e89c3fc..111d56d 100644 --- a/rpxy-certs/Cargo.toml +++ b/rpxy-certs/Cargo.toml @@ -35,7 +35,7 @@ rustls-post-quantum = { version = "0.2.2", optional = true } x509-parser = { version = "0.17.0" } [dev-dependencies] -tokio = { version = "1.45.1", default-features = false, features = [ +tokio = { version = "1.46.0", default-features = false, features = [ "rt-multi-thread", "macros", ] } diff --git a/rpxy-lib/Cargo.toml b/rpxy-lib/Cargo.toml index eb886c0..c5dd1d8 100644 --- a/rpxy-lib/Cargo.toml +++ b/rpxy-lib/Cargo.toml @@ -41,7 +41,7 @@ ahash = "0.8.12" bytes = "1.10.1" derive_builder = "0.20.2" futures = { version = "0.3.31", features = ["alloc", "async-await"] } -tokio = { version = "1.45.1", default-features = false, features = [ +tokio = { version = "1.46.0", default-features = false, features = [ "net", "rt-multi-thread", "time",