From bd492982408d4045106ef228ff2582643147fb1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:45:35 -0300 Subject: [PATCH] build(deps): Bump tokio from 1.38.0 to 1.39.2 in /rust (#6082) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.39.2.
Release notes

Sourced from tokio's releases.

Tokio v1.39.2

1.39.2 (July 27th, 2024)

This release fixes a regression where the select! macro stopped accepting expressions that make use of temporary lifetime extension. (#6722)

#6722: tokio-rs/tokio#6722

Tokio v1.39.1

1.39.1 (July 23rd, 2024)

This release reverts "time: avoid traversing entries in the time wheel twice" because it contains a bug. (#6715)

#6715: tokio-rs/tokio#6715

Tokio v1.39.0

1.39.0 (July 23rd, 2024)

Added

Changed

Fixed

Added (unstable)

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.38.0&new-version=1.39.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas Eizinger --- rust/Cargo.lock | 28 +++++++++------------------- rust/Cargo.toml | 2 +- rust/connlib/shared/Cargo.toml | 2 +- rust/relay/Cargo.toml | 2 +- rust/socket-factory/Cargo.toml | 2 +- 5 files changed, 13 insertions(+), 23 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 23daf0a34..1bcfdf67f 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -3614,14 +3614,15 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.11" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" dependencies = [ + "hermit-abi", "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -3949,16 +3950,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", - "libc", -] - [[package]] name = "num_enum" version = "0.5.11" @@ -6352,28 +6343,27 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "daa4fb1bc778bd6f04cbfc4bb2d06a7396a8f299dc33ea1900cedaa316f467b1" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "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/rust/Cargo.toml b/rust/Cargo.toml index 803b0c776..86e7b5aa6 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -39,7 +39,7 @@ domain = { version = "0.10", features = ["serde"] } dns-lookup = "2.0" tokio-tungstenite = "0.21" rtnetlink = { version = "0.14.1", default-features = false, features = ["tokio_socket"] } -tokio = "1.38" +tokio = "1.39" connlib-client-android = { path = "connlib/clients/android" } connlib-client-apple = { path = "connlib/clients/apple" } diff --git a/rust/connlib/shared/Cargo.toml b/rust/connlib/shared/Cargo.toml index 086c54099..b901c0de4 100644 --- a/rust/connlib/shared/Cargo.toml +++ b/rust/connlib/shared/Cargo.toml @@ -35,7 +35,7 @@ url = { version = "2.5.2", default-features = false } uuid = { version = "1.10", default-features = false, features = ["std", "v4", "serde"] } [dev-dependencies] -tokio = { version = "1.38", features = ["macros", "rt"] } +tokio = { version = "1.39", features = ["macros", "rt"] } [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] swift-bridge = { workspace = true } diff --git a/rust/relay/Cargo.toml b/rust/relay/Cargo.toml index d168862ef..7b35fd38d 100644 --- a/rust/relay/Cargo.toml +++ b/rust/relay/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3.29" hex = "0.4.3" hex-display = "0.3.0" http-health-check = { workspace = true } -mio = "0.8.11" +mio = { version = "1.0.1", features = ["net"] } once_cell = "1.17.1" opentelemetry = { version = "0.24.0", features = ["metrics"] } opentelemetry-otlp = { version = "0.17.0", features = ["metrics"] } diff --git a/rust/socket-factory/Cargo.toml b/rust/socket-factory/Cargo.toml index 5522c49fe..b9ae869ab 100644 --- a/rust/socket-factory/Cargo.toml +++ b/rust/socket-factory/Cargo.toml @@ -8,7 +8,7 @@ async-trait = { version = "0.1", optional = true } hickory-proto = { workspace = true, optional = true } quinn-udp = { git = "https://github.com/quinn-rs/quinn", branch = "main" } socket2 = { workspace = true } -tokio = { version = "1.38", features = ["net"] } +tokio = { version = "1.39", features = ["net"] } tracing = "0.1" [features]