From 115bbe591e769697673e6e0f32e3724a97aa39b9 Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Wed, 9 Aug 2023 15:49:06 +0000 Subject: [PATCH] Update Rust crate tokio to 1.30 --- Cargo.lock | 23 ++++++++++++++++------- src/cmd/prae/Cargo.toml | 2 +- src/lib/prae_api/Cargo.toml | 2 +- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02e9f83..1a7d01d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,7 +258,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -431,9 +431,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "2c516611246607d0c04186886dbb3a754368ef82c79e9827a802c6d836dd111c" [[package]] name = "pin-utils" @@ -631,6 +631,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "socket2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "syn" version = "1.0.98" @@ -670,11 +680,10 @@ dependencies = [ [[package]] name = "tokio" -version = "1.29.0" +version = "1.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374442f06ee49c3a28a8fc9f01a2596fed7559c6b99b31279c3261778e77d84f" +checksum = "2d3ce25f50619af8b0aec2eb23deebe84249e19e2ddd393a6e16e3300a6dadfd" dependencies = [ - "autocfg", "backtrace", "bytes", "libc", @@ -683,7 +692,7 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2", + "socket2 0.5.3", "tokio-macros", "windows-sys 0.48.0", ] diff --git a/src/cmd/prae/Cargo.toml b/src/cmd/prae/Cargo.toml index 735d360..ad2f53f 100644 --- a/src/cmd/prae/Cargo.toml +++ b/src/cmd/prae/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tokio = { version = "1.29", features = ["full"] } +tokio = { version = "1.30", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } anyhow = {version = "1.0.72"} diff --git a/src/lib/prae_api/Cargo.toml b/src/lib/prae_api/Cargo.toml index ec87176..896da2e 100644 --- a/src/lib/prae_api/Cargo.toml +++ b/src/lib/prae_api/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" axum = { version = "0.6" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.104" -tokio = { version = "1.29", features = ["full"] } +tokio = { version = "1.30", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3" } anyhow = { version = "1.0.72" }