From 4e056293681c05542eef245b09984cad9deda8f0 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 26 Feb 2023 03:47:25 +0000 Subject: [PATCH] specify safe tokio version range --- actix-http-test/Cargo.toml | 2 +- actix-http/Cargo.toml | 4 ++-- actix-multipart/Cargo.toml | 4 ++-- actix-test/Cargo.toml | 2 +- actix-web-actors/Cargo.toml | 2 +- actix-web/Cargo.toml | 2 +- awc/Cargo.toml | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/actix-http-test/Cargo.toml b/actix-http-test/Cargo.toml index 23fffdc17..cd5e87162 100644 --- a/actix-http-test/Cargo.toml +++ b/actix-http-test/Cargo.toml @@ -47,7 +47,7 @@ serde_json = "1.0" slab = "0.4" serde_urlencoded = "0.7" tls-openssl = { version = "0.10.9", package = "openssl", optional = true } -tokio = { version = "1.18.5", features = ["sync"] } +tokio = { version = "1.24.2", features = ["sync"] } [dev-dependencies] actix-web = { version = "4", default-features = false, features = ["cookies"] } diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index 19302d002..71b5a600b 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -77,7 +77,7 @@ mime = "0.3" percent-encoding = "2.1" pin-project-lite = "0.2" smallvec = "1.6.1" -tokio = { version = "1.18.5", features = [] } +tokio = { version = "1.24.2", features = [] } tokio-util = { version = "0.7", features = ["io", "codec"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } @@ -119,7 +119,7 @@ serde_json = "1.0" static_assertions = "1" tls-openssl = { package = "openssl", version = "0.10.9" } tls-rustls = { package = "rustls", version = "0.20.0" } -tokio = { version = "1.18.5", features = ["net", "rt", "macros"] } +tokio = { version = "1.24.2", features = ["net", "rt", "macros"] } [[example]] name = "ws" diff --git a/actix-multipart/Cargo.toml b/actix-multipart/Cargo.toml index 2a14be007..b63ab1f86 100644 --- a/actix-multipart/Cargo.toml +++ b/actix-multipart/Cargo.toml @@ -44,7 +44,7 @@ serde_json = "1" serde_plain = "1" # TODO(MSRV 1.60): replace with dep: prefix tempfile-dep = { package = "tempfile", version = "3.4", optional = true } -tokio = { version = "1.18.5", features = ["sync"] } +tokio = { version = "1.24.2", features = ["sync"] } [dev-dependencies] actix-http = "3" @@ -53,5 +53,5 @@ actix-rt = "2.2" actix-test = "0.1" awc = "3" futures-util = { version = "0.3.17", default-features = false, features = ["alloc"] } -tokio = { version = "1.18.5", features = ["sync"] } +tokio = { version = "1.24.2", features = ["sync"] } tokio-stream = "0.1" diff --git a/actix-test/Cargo.toml b/actix-test/Cargo.toml index 213d6bc36..956005d8a 100644 --- a/actix-test/Cargo.toml +++ b/actix-test/Cargo.toml @@ -45,4 +45,4 @@ serde_json = "1" serde_urlencoded = "0.7" tls-openssl = { package = "openssl", version = "0.10.9", optional = true } tls-rustls = { package = "rustls", version = "0.20.0", optional = true } -tokio = { version = "1.18.5", features = ["sync"] } +tokio = { version = "1.24.2", features = ["sync"] } diff --git a/actix-web-actors/Cargo.toml b/actix-web-actors/Cargo.toml index 4eb9ddc62..e89baed96 100644 --- a/actix-web-actors/Cargo.toml +++ b/actix-web-actors/Cargo.toml @@ -23,7 +23,7 @@ bytes = "1" bytestring = "1" futures-core = { version = "0.3.17", default-features = false } pin-project-lite = "0.2" -tokio = { version = "1.18.5", features = ["sync"] } +tokio = { version = "1.24.2", features = ["sync"] } tokio-util = { version = "0.7", features = ["codec"] } [dev-dependencies] diff --git a/actix-web/Cargo.toml b/actix-web/Cargo.toml index d8d9969eb..afc7feab1 100644 --- a/actix-web/Cargo.toml +++ b/actix-web/Cargo.toml @@ -115,7 +115,7 @@ serde = { version = "1.0", features = ["derive"] } static_assertions = "1" tls-openssl = { package = "openssl", version = "0.10.9" } tls-rustls = { package = "rustls", version = "0.20.0" } -tokio = { version = "1.18.5", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros"] } zstd = "0.12" [[test]] diff --git a/awc/Cargo.toml b/awc/Cargo.toml index c3dab92b0..0c3027c99 100644 --- a/awc/Cargo.toml +++ b/awc/Cargo.toml @@ -80,7 +80,7 @@ rand = "0.8" serde = "1.0" serde_json = "1.0" serde_urlencoded = "0.7" -tokio = { version = "1.18.5", features = ["sync"] } +tokio = { version = "1.24.2", features = ["sync"] } cookie = { version = "0.16", features = ["percent-encode"], optional = true } @@ -106,7 +106,7 @@ futures-util = { version = "0.3.17", default-features = false } static_assertions = "1.1" rcgen = "0.9" rustls-pemfile = "1" -tokio = { version = "1.18.5", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros"] } zstd = "0.12" [[example]]