From 08ee6c5603a624aceec746908ce98e82809c3f41 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:17:39 +0200 Subject: [PATCH] chore: Bump tokio from 1.38.0 to 1.40.0 (#1505) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.40.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.40.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 28 +++++++++------------------- backend/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- core/Cargo.toml | 2 +- 4 files changed, 12 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7513fdc0..a13236a10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2302,13 +2302,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.11" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi 0.3.9", "libc", "wasi", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -2429,16 +2430,6 @@ dependencies = [ "libm", ] -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi 0.3.9", - "libc", -] - [[package]] name = "object" version = "0.36.0" @@ -4123,21 +4114,20 @@ 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", - "num_cpus", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -4153,9 +4143,9 @@ dependencies = [ [[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/backend/Cargo.toml b/backend/Cargo.toml index b03c8c16a..cf71a04b5 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -23,7 +23,7 @@ sqlx = { version = "0.7", features = [ "migrate", ] } sqlxmq = "0.5" -tokio = { version = "1.35", features = ["macros"] } +tokio = { version = "1.40", features = ["macros"] } tracing = "0.1.40" tracing-subscriber = "0.3.18" uuid = "1.10" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index a0c08d3d7..7dc982818 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -22,7 +22,7 @@ serde = "1.0" serde_json = "1.0" [dependencies.tokio] -version = "1.35.1" +version = "1.40.0" features = ["macros", "net", "io-util", "rt-multi-thread"] [profile.release] diff --git a/core/Cargo.toml b/core/Cargo.toml index 5b3d2e813..421b8da2f 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -37,7 +37,7 @@ serde_json = "1.0.124" tracing = "0.1.40" [dev-dependencies] -tokio = { version = "1.35.1" } +tokio = { version = "1.40.0" } [features] headless = ["fantoccini", "futures"]