Skip to content

Commit

Permalink
use secure tokio version range
Browse files Browse the repository at this point in the history
see RUSTSEC-2023-0001

part of actix/actix-web#2962
  • Loading branch information
robjtede committed Jan 10, 2023
1 parent dde38bb commit d13461b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion actix-codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

Expand Down
4 changes: 2 additions & 2 deletions actix-rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions actix-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"] }
2 changes: 1 addition & 1 deletion actix-tls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

Expand Down
2 changes: 1 addition & 1 deletion local-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

0 comments on commit d13461b

Please sign in to comment.