1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00

tighten tokio version range to prevent RUSTSEC-2021-0124

This commit is contained in:
Rob Ede 2021-12-22 08:41:44 +00:00
parent b3ac918d70
commit 324eba7e0b
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
6 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,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.2", features = ["sync"] }
tokio = { version = "1.8", features = ["sync"] }
[dev-dependencies]
actix-web = { version = "4.0.0-beta.15", default-features = false, features = ["cookies"] }

View File

@ -97,7 +97,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.2", features = ["net", "rt", "macros"] }
tokio = { version = "1.8", features = ["net", "rt", "macros"] }
[[example]]
name = "ws"

View File

@ -30,5 +30,5 @@ twoway = "0.2"
actix-rt = "2.2"
actix-http = "3.0.0-beta.16"
futures-util = { version = "0.3.7", default-features = false, features = ["alloc"] }
tokio = { version = "1", features = ["sync"] }
tokio = { version = "1.8", features = ["sync"] }
tokio-stream = "0.1"

View File

@ -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.2", features = ["sync"] }
tokio = { version = "1.8", features = ["sync"] }

View File

@ -23,7 +23,7 @@ bytes = "1"
bytestring = "1"
futures-core = { version = "0.3.7", default-features = false }
pin-project-lite = "0.2"
tokio = { version = "1", features = ["sync"] }
tokio = { version = "1.8", features = ["sync"] }
[dev-dependencies]
actix-rt = "2.2"

View File

@ -83,7 +83,7 @@ rand = "0.8"
serde = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.7"
tokio = { version = "1", features = ["sync"] }
tokio = { version = "1.8", features = ["sync"] }
cookie = { version = "0.15", features = ["percent-encode"], optional = true }