1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 18:02:58 +01:00

use secure tokio version range

see RUSTSEC-2023-0001

part of actix/actix-web#2962
This commit is contained in:
Rob Ede 2023-01-10 08:56:38 +00:00
parent dde38bbe06
commit d13461b337
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
5 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ futures-core = { version = "0.3.7", default-features = false }
futures-sink = { version = "0.3.7", default-features = false } futures-sink = { version = "0.3.7", default-features = false }
memchr = "2.3" memchr = "2.3"
pin-project-lite = "0.2" pin-project-lite = "0.2"
tokio = "1.13.1" tokio = "1.18.4"
tokio-util = { version = "0.7", features = ["codec", "io"] } tokio-util = { version = "0.7", features = ["codec", "io"] }
tracing = { version = "0.1.30", default-features = false, features = ["log"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] }

View File

@ -26,12 +26,12 @@ io-uring = ["tokio-uring"]
actix-macros = { version = "0.2.3", optional = true } actix-macros = { version = "0.2.3", optional = true }
futures-core = { version = "0.3", default-features = false } 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 # runtime for `io-uring` feature
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
tokio-uring = { version = "0.4", optional = true } tokio-uring = { version = "0.4", optional = true }
[dev-dependencies] [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"] } hyper = { version = "0.14.10", default-features = false, features = ["server", "tcp", "http1"] }

View File

@ -32,7 +32,7 @@ futures-util = { version = "0.3.17", default-features = false, features = ["allo
mio = { version = "0.8", features = ["os-poll", "net"] } mio = { version = "0.8", features = ["os-poll", "net"] }
num_cpus = "1.13" num_cpus = "1.13"
socket2 = "0.4.2" 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"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] }
# runtime for `io-uring` feature # runtime for `io-uring` feature
@ -46,4 +46,4 @@ actix-rt = "2.8"
bytes = "1" bytes = "1"
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["sink", "async-await-macro"] } 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"] }

View File

@ -49,7 +49,7 @@ actix-utils = "3"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] } futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
impl-more = "0.1" impl-more = "0.1"
pin-project-lite = "0.2.7" pin-project-lite = "0.2.7"
tokio = "1.13.1" tokio = "1.18.4"
tokio-util = "0.7" tokio-util = "0.7"
tracing = { version = "0.1.30", default-features = false, features = ["log"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] }

View File

@ -18,4 +18,4 @@ futures-util = { version = "0.3.17", default-features = false }
local-waker = "0.1" local-waker = "0.1"
[dev-dependencies] [dev-dependencies]
tokio = { version = "1.13.1", features = ["rt", "macros"] } tokio = { version = "1.18.4", features = ["rt", "macros"] }