diff --git a/Cargo.lock b/Cargo.lock index 6f18d96e152..0de931e679a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3305,6 +3305,17 @@ dependencies = [ "walkdir", ] +[[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 = "ipnet" version = "2.11.0" @@ -5818,17 +5829,19 @@ 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", "parking_lot", "pin-project-lite", "signal-hook-registry", + "slab", "socket2", "tokio-macros", "windows-sys 0.52.0", diff --git a/Cargo.toml b/Cargo.toml index 9a3b9c3a08b..1f1e8517809 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -124,7 +124,7 @@ tar = "=0.4.44" tempfile = "=3.20.0" thiserror = "=2.0.12" tikv-jemallocator = { version = "=0.6.0", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] } -tokio = { version = "=1.45.1", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread", "macros", "process"]} +tokio = { version = "=1.46.0", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread", "macros", "process"]} tokio-postgres = "=0.7.13" tokio-util = "=0.7.15" toml = "=0.8.23" @@ -154,5 +154,5 @@ jsonwebtoken = "=9.3.1" quoted_printable = "=0.5.1" regex = "=1.11.1" sentry = { version = "=0.41.0", features = ["test"] } -tokio = "=1.45.1" +tokio = "=1.46.0" zip = { version = "=4.2.0", default-features = false, features = ["deflate"] } diff --git a/crates/crates_io_cdn_logs/Cargo.toml b/crates/crates_io_cdn_logs/Cargo.toml index 0323cdc12e4..3037108617c 100644 --- a/crates/crates_io_cdn_logs/Cargo.toml +++ b/crates/crates_io_cdn_logs/Cargo.toml @@ -16,7 +16,7 @@ percent-encoding = "=2.3.1" semver = "=1.0.26" serde = { version = "=1.0.219", features = ["derive"] } serde_json = "=1.0.140" -tokio = { version = "=1.45.1", features = ["io-util"] } +tokio = { version = "=1.46.0", features = ["io-util"] } tracing = "=0.1.41" [dev-dependencies] @@ -24,7 +24,7 @@ claims = "=0.8.0" clap = { version = "=4.5.40", features = ["derive"] } criterion = { version = "=0.6.0", features = ["async_tokio"] } insta = "=1.43.1" -tokio = { version = "=1.45.1", features = ["fs", "macros", "rt", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["fs", "macros", "rt", "rt-multi-thread"] } tracing-subscriber = { version = "=0.3.19", features = ["env-filter"] } [[bench]] diff --git a/crates/crates_io_database/Cargo.toml b/crates/crates_io_database/Cargo.toml index 60bc3b4d3ea..b73d299bf34 100644 --- a/crates/crates_io_database/Cargo.toml +++ b/crates/crates_io_database/Cargo.toml @@ -32,4 +32,4 @@ claims = "=0.8.0" crates_io_test_db = { path = "../crates_io_test_db" } googletest = "=0.14.2" insta = "=1.43.1" -tokio = { version = "=1.45.1", features = ["macros", "rt"] } +tokio = { version = "=1.46.0", features = ["macros", "rt"] } diff --git a/crates/crates_io_database_dump/Cargo.toml b/crates/crates_io_database_dump/Cargo.toml index b6bc9b727aa..cc8bd9a6439 100644 --- a/crates/crates_io_database_dump/Cargo.toml +++ b/crates/crates_io_database_dump/Cargo.toml @@ -25,4 +25,4 @@ crates_io_test_db = { path = "../crates_io_test_db" } diesel = "=2.2.11" diesel-async = { version = "=0.5.2", features = ["postgres"] } insta = { version = "=1.43.1", features = ["glob"] } -tokio = { version = "=1.45.1", features = ["macros", "rt"] } +tokio = { version = "=1.46.0", features = ["macros", "rt"] } diff --git a/crates/crates_io_docs_rs/Cargo.toml b/crates/crates_io_docs_rs/Cargo.toml index ae288c4ae62..2a549918af0 100644 --- a/crates/crates_io_docs_rs/Cargo.toml +++ b/crates/crates_io_docs_rs/Cargo.toml @@ -27,5 +27,5 @@ claims = "=0.8.0" serde_json = "=1.0.140" mockito = "=1.7.0" test-case = "=3.3.1" -tokio = { version = "=1.45.1", features = ["macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "=0.3.19" diff --git a/crates/crates_io_github/Cargo.toml b/crates/crates_io_github/Cargo.toml index bee996849be..6bd6ffd26e7 100644 --- a/crates/crates_io_github/Cargo.toml +++ b/crates/crates_io_github/Cargo.toml @@ -23,5 +23,5 @@ tracing = "=0.1.41" [dev-dependencies] clap = { version = "=4.5.40", features = ["derive", "env", "unicode", "wrap_help"] } secrecy = "=0.10.3" -tokio = { version = "=1.45.1", features = ["macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["macros", "rt-multi-thread"] } tracing-subscriber = { version = "=0.3.19", features = ["env-filter"] } diff --git a/crates/crates_io_og_image/Cargo.toml b/crates/crates_io_og_image/Cargo.toml index 77f78813d90..7fe61175bfc 100644 --- a/crates/crates_io_og_image/Cargo.toml +++ b/crates/crates_io_og_image/Cargo.toml @@ -17,10 +17,10 @@ serde = { version = "=1.0.219", features = ["derive"] } serde_json = "=1.0.140" tempfile = "=3.20.0" thiserror = "=2.0.12" -tokio = { version = "=1.45.1", features = ["process", "fs"] } +tokio = { version = "=1.46.0", features = ["process", "fs"] } tracing = "=0.1.41" [dev-dependencies] insta = "=1.43.1" -tokio = { version = "=1.45.1", features = ["macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["macros", "rt-multi-thread"] } tracing-subscriber = { version = "=0.3.19", features = ["env-filter", "fmt"] } diff --git a/crates/crates_io_pagerduty/Cargo.toml b/crates/crates_io_pagerduty/Cargo.toml index d437bea305f..a87697158fc 100644 --- a/crates/crates_io_pagerduty/Cargo.toml +++ b/crates/crates_io_pagerduty/Cargo.toml @@ -15,4 +15,4 @@ serde = { version = "=1.0.219", features = ["derive"] } [dev-dependencies] clap = { version = "=4.5.40", features = ["derive", "env", "unicode", "wrap_help"] } -tokio = { version = "=1.45.1", features = ["macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["macros", "rt-multi-thread"] } diff --git a/crates/crates_io_smoke_test/Cargo.toml b/crates/crates_io_smoke_test/Cargo.toml index 2c15dbd07e6..9f320f8037f 100644 --- a/crates/crates_io_smoke_test/Cargo.toml +++ b/crates/crates_io_smoke_test/Cargo.toml @@ -20,6 +20,6 @@ serde = { version = "=1.0.219", features = ["derive"] } serde_json = "=1.0.140" tempfile = "=3.20.0" thiserror = "=2.0.12" -tokio = { version = "=1.45.1", features = ["fs", "macros", "process", "rt-multi-thread"]} +tokio = { version = "=1.46.0", features = ["fs", "macros", "process", "rt-multi-thread"]} tracing = "=0.1.41" tracing-subscriber = { version = "=0.3.19", features = ["env-filter"] } diff --git a/crates/crates_io_tarball/Cargo.toml b/crates/crates_io_tarball/Cargo.toml index 7d3200d9883..86696621c27 100644 --- a/crates/crates_io_tarball/Cargo.toml +++ b/crates/crates_io_tarball/Cargo.toml @@ -19,7 +19,7 @@ serde_json = "=1.0.140" tar = { version = "=0.4.44", optional = true } thiserror = "=2.0.12" tracing = "=0.1.41" -tokio = { version = "=1.45.1", features = ["io-util", "macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["io-util", "macros", "rt-multi-thread"] } async-compression = { version = "=0.4.25", default-features = false, features = ["gzip", "tokio"] } futures-util = "=0.3.31" diff --git a/crates/crates_io_team_repo/Cargo.toml b/crates/crates_io_team_repo/Cargo.toml index db0c6cf97da..b9bcaf09867 100644 --- a/crates/crates_io_team_repo/Cargo.toml +++ b/crates/crates_io_team_repo/Cargo.toml @@ -18,4 +18,4 @@ reqwest = { version = "=0.12.22", features = ["gzip", "json"] } serde = { version = "=1.0.219", features = ["derive"] } [dev-dependencies] -tokio = { version = "=1.45.1", features = ["macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["macros", "rt-multi-thread"] } diff --git a/crates/crates_io_trustpub/Cargo.toml b/crates/crates_io_trustpub/Cargo.toml index 38f3ccb20f7..9c207d4c335 100644 --- a/crates/crates_io_trustpub/Cargo.toml +++ b/crates/crates_io_trustpub/Cargo.toml @@ -25,7 +25,7 @@ serde = { version = "=1.0.219", features = ["derive"] } serde_json = { version = "=1.0.140", optional = true } sha2 = "=0.10.9" thiserror = "=2.0.12" -tokio = { version = "=1.45.1", features = ["sync"] } +tokio = { version = "=1.46.0", features = ["sync"] } tracing = "=0.1.41" [dev-dependencies] @@ -34,4 +34,4 @@ claims = "=0.8.0" insta = { version = "=1.43.1", features = ["json", "redactions"] } mockito = "=1.7.0" serde_json = "=1.0.140" -tokio = { version = "=1.45.1", features = ["macros", "rt-multi-thread"] } +tokio = { version = "=1.46.0", features = ["macros", "rt-multi-thread"] } diff --git a/crates/crates_io_worker/Cargo.toml b/crates/crates_io_worker/Cargo.toml index 1204d4728fc..db24197f1b0 100644 --- a/crates/crates_io_worker/Cargo.toml +++ b/crates/crates_io_worker/Cargo.toml @@ -16,11 +16,11 @@ sentry-core = { version = "=0.41.0", features = ["client"] } serde = { version = "=1.0.219", features = ["derive"] } serde_json = "=1.0.140" thiserror = "=2.0.12" -tokio = { version = "=1.45.1", features = ["rt", "time"]} +tokio = { version = "=1.46.0", features = ["rt", "time"]} tracing = "=0.1.41" [dev-dependencies] claims = "=0.8.0" crates_io_test_db = { path = "../crates_io_test_db" } insta = { version = "=1.43.1", features = ["json"] } -tokio = { version = "=1.45.1", features = ["macros", "sync"]} +tokio = { version = "=1.46.0", features = ["macros", "sync"]}