diff --git a/Cargo.lock b/Cargo.lock index 096d153..d705670 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -349,6 +349,17 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" +[[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 = "itoa" version = "1.0.15" @@ -822,15 +833,17 @@ dependencies = [ [[package]] name = "tokio" -version = "1.45.0" +version = "1.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" +checksum = "1140bb80481756a8cbe10541f37433b459c5aa1e727b4c020fbfebdc25bf3ec4" dependencies = [ "backtrace", "bytes", + "io-uring", "libc", "mio", "pin-project-lite", + "slab", "socket2", "tokio-macros", "windows-sys 0.52.0", @@ -1113,7 +1126,7 @@ dependencies = [ [[package]] name = "websocket-benchmark" -version = "0.1.0" +version = "0.1.1" dependencies = [ "color-eyre", "futures", diff --git a/Cargo.toml b/Cargo.toml index 2912206..6072636 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ lto = true color-eyre = { version = "0.6" } futures = { version = "0.3" } soketto = { version = "0.8" } -tokio = { version = "1.45", features = ["macros", "rt-multi-thread", "sync"] } +tokio = { version = "1.46", features = ["macros", "rt-multi-thread", "sync"] } tokio-tungstenite = { version = "0.26" } tokio-util = { version = "0.7", features = ["compat"] } tokio-websockets = { version = "0.11", features = ["client", "fastrand", "server", "sha1_smol"] }