diff --git a/Cargo.lock b/Cargo.lock index b54cc5cbc2b42..e32ee19fabe04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14475,29 +14475,28 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", "libc", - "mio 0.8.11", - "num_cpus", + "mio 1.0.2", "parking_lot 0.12.1", "pin-project-lite", "signal-hook-registry", "socket2 0.5.6", "tokio-macros", "tracing", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", diff --git a/src/utils/runtime/Cargo.toml b/src/utils/runtime/Cargo.toml index 51fc39de9c0c4..dbbb225544359 100644 --- a/src/utils/runtime/Cargo.toml +++ b/src/utils/runtime/Cargo.toml @@ -25,7 +25,7 @@ risingwave_variables = { workspace = true } rlimit = "0.10" rustls = "0.23.5" # Explicitly specify the tokio version used in RisingWave runtime -rw-tokio = { version = "=1.38.0", package = "tokio" } +rw-tokio = { version = "=1.40.0", package = "tokio" } thiserror-ext = { workspace = true } time = { version = "0.3", features = ["formatting", "local-offset"] } tokio = { version = "0.2", package = "madsim-tokio", features = [