From 80320a0325eed10057b3ef0dcdb3ad2c9a754edb Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 1 Apr 2023 22:24:10 +0100 Subject: [PATCH] use secure tokio version range --- 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 84f964c3..565bc830 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -20,7 +20,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.18.4" +tokio = "1.23.1" 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 8e967405..fa5fc204 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -23,12 +23,12 @@ io-uring = ["tokio-uring"] actix-macros = { version = "0.2.3", optional = true } futures-core = { version = "0.3", default-features = false } -tokio = { version = "1.18.4", features = ["rt", "net", "parking_lot", "signal", "sync", "time"] } +tokio = { version = "1.23.1", 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.18.4", features = ["full"] } +tokio = { version = "1.23.1", 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 05bfd0b1..ba9ef03c 100755 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -29,7 +29,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.18.4", features = ["sync"] } +tokio = { version = "1.23.1", features = ["sync"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } # runtime for `io-uring` feature @@ -43,4 +43,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.18.4", features = ["io-util", "rt-multi-thread", "macros", "fs"] } +tokio = { version = "1.23.1", features = ["io-util", "rt-multi-thread", "macros", "fs"] } diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index bf90ff46..64ac1d7c 100755 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -46,7 +46,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.18.4" +tokio = "1.23.1" 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 b99b397c..04a4b9b5 100644 --- a/local-channel/Cargo.toml +++ b/local-channel/Cargo.toml @@ -19,4 +19,4 @@ futures-util = { version = "0.3.17", default-features = false } local-waker = "0.1" [dev-dependencies] -tokio = { version = "1.18.4", features = ["rt", "macros"] } +tokio = { version = "1.23.1", features = ["rt", "macros"] }