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]