From d13461b33749ebeee78539f01c8d4931d4433295 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 10 Jan 2023 08:56:38 +0000 Subject: [PATCH] use secure tokio version range see RUSTSEC-2023-0001 part of actix/actix-web#2962 --- actix-codec/Cargo.toml | 2 +- actix-rt/Cargo.toml | 4 ++-- actix-server/Cargo.toml | 4 ++-- actix-tls/Cargo.toml | 2 +- local-channel/Cargo.toml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index 0b63d214..900873f2 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -23,7 +23,7 @@ futures-core = { version = "0.3.7", default-features = false } futures-sink = { version = "0.3.7", default-features = false } memchr = "2.3" pin-project-lite = "0.2" -tokio = "1.13.1" +tokio = "1.18.4" tokio-util = { version = "0.7", features = ["codec", "io"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index 46f9ec14..70716888 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -26,12 +26,12 @@ io-uring = ["tokio-uring"] actix-macros = { version = "0.2.3", optional = true } futures-core = { version = "0.3", default-features = false } -tokio = { version = "1.13.1", features = ["rt", "net", "parking_lot", "signal", "sync", "time"] } +tokio = { version = "1.18.4", features = ["rt", "net", "parking_lot", "signal", "sync", "time"] } # runtime for `io-uring` feature [target.'cfg(target_os = "linux")'.dependencies] tokio-uring = { version = "0.4", optional = true } [dev-dependencies] -tokio = { version = "1.13.1", features = ["full"] } +tokio = { version = "1.18.4", features = ["full"] } hyper = { version = "0.14.10", default-features = false, features = ["server", "tcp", "http1"] } diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index e23880f3..bc0187e8 100755 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -32,7 +32,7 @@ futures-util = { version = "0.3.17", default-features = false, features = ["allo mio = { version = "0.8", features = ["os-poll", "net"] } num_cpus = "1.13" socket2 = "0.4.2" -tokio = { version = "1.13.1", features = ["sync"] } +tokio = { version = "1.18.4", features = ["sync"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } # runtime for `io-uring` feature @@ -46,4 +46,4 @@ actix-rt = "2.8" bytes = "1" env_logger = "0.10" futures-util = { version = "0.3.17", default-features = false, features = ["sink", "async-await-macro"] } -tokio = { version = "1.13.1", features = ["io-util", "rt-multi-thread", "macros", "fs"] } +tokio = { version = "1.18.4", features = ["io-util", "rt-multi-thread", "macros", "fs"] } diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index 9aef48c7..f7df5430 100755 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -49,7 +49,7 @@ actix-utils = "3" futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] } impl-more = "0.1" pin-project-lite = "0.2.7" -tokio = "1.13.1" +tokio = "1.18.4" tokio-util = "0.7" tracing = { version = "0.1.30", default-features = false, features = ["log"] } diff --git a/local-channel/Cargo.toml b/local-channel/Cargo.toml index f9424ccc..8484577d 100644 --- a/local-channel/Cargo.toml +++ b/local-channel/Cargo.toml @@ -18,4 +18,4 @@ futures-util = { version = "0.3.17", default-features = false } local-waker = "0.1" [dev-dependencies] -tokio = { version = "1.13.1", features = ["rt", "macros"] } +tokio = { version = "1.18.4", features = ["rt", "macros"] }