From a862d6b710826d131e183f6b6c1ea9e93f40f1a4 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 18 Aug 2024 16:55:42 +0100 Subject: [PATCH] chore: narrow tokio version range to account for RUSTSEC-2023-0005 --- actix-hash/Cargo.toml | 2 +- actix-web-lab-derive/Cargo.toml | 2 +- actix-web-lab/Cargo.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/actix-hash/Cargo.toml b/actix-hash/Cargo.toml index 5f1f9387..c19311e6 100644 --- a/actix-hash/Cargo.toml +++ b/actix-hash/Cargo.toml @@ -49,7 +49,7 @@ futures-core = "0.3.17" futures-util = { version = "0.3.17", default-features = false, features = ["std"] } local-channel = "0.1" pin-project-lite = "0.2" -tokio = { version = "1.18.5", features = ["sync", "macros"] } +tokio = { version = "1.24.2", features = ["sync", "macros"] } tracing = { version = "0.1.30", features = ["log"] } blake2 = { package = "blake2", version = "0.10", optional = true } diff --git a/actix-web-lab-derive/Cargo.toml b/actix-web-lab-derive/Cargo.toml index fc98bf1b..961d8614 100644 --- a/actix-web-lab-derive/Cargo.toml +++ b/actix-web-lab-derive/Cargo.toml @@ -30,7 +30,7 @@ actix-test = "0.1" actix-web = "4" futures-util = { version = "0.3.17", default-features = false, features = ["std"] } rustversion = "1" -tokio = { version = "1.18.5", features = ["macros"] } +tokio = { version = "1.24.2", features = ["macros"] } trybuild = "1" [lints] diff --git a/actix-web-lab/Cargo.toml b/actix-web-lab/Cargo.toml index 40e3240d..8a4f04ca 100644 --- a/actix-web-lab/Cargo.toml +++ b/actix-web-lab/Cargo.toml @@ -75,7 +75,7 @@ serde = "1" serde_html_form = "0.2" serde_json = "1" serde_path_to_error = "0.1" -tokio = { version = "1.23.1", features = ["sync", "macros"] } +tokio = { version = "1.24.2", features = ["sync", "macros"] } tokio-stream = "0.1.1" tracing = { version = "0.1.30", features = ["log"] } @@ -109,7 +109,7 @@ serde = { version = "1", features = ["derive"] } sha2 = "0.10" static_assertions = "1.1" time = { version = "0.3", features = ["formatting"] } -tokio = { version = "1.18.5", features = ["full"] } +tokio = { version = "1.24.2", features = ["full"] } tokio-util = { version = "0.7", features = ["compat"] } [[example]]