Skip to content

Commit d13461b

Browse files
committed
use secure tokio version range
see RUSTSEC-2023-0001 part of actix/actix-web#2962
1 parent dde38bb commit d13461b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

actix-codec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ futures-core = { version = "0.3.7", default-features = false }
2323
futures-sink = { version = "0.3.7", default-features = false }
2424
memchr = "2.3"
2525
pin-project-lite = "0.2"
26-
tokio = "1.13.1"
26+
tokio = "1.18.4"
2727
tokio-util = { version = "0.7", features = ["codec", "io"] }
2828
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
2929

actix-rt/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ io-uring = ["tokio-uring"]
2626
actix-macros = { version = "0.2.3", optional = true }
2727

2828
futures-core = { version = "0.3", default-features = false }
29-
tokio = { version = "1.13.1", features = ["rt", "net", "parking_lot", "signal", "sync", "time"] }
29+
tokio = { version = "1.18.4", features = ["rt", "net", "parking_lot", "signal", "sync", "time"] }
3030

3131
# runtime for `io-uring` feature
3232
[target.'cfg(target_os = "linux")'.dependencies]
3333
tokio-uring = { version = "0.4", optional = true }
3434

3535
[dev-dependencies]
36-
tokio = { version = "1.13.1", features = ["full"] }
36+
tokio = { version = "1.18.4", features = ["full"] }
3737
hyper = { version = "0.14.10", default-features = false, features = ["server", "tcp", "http1"] }

actix-server/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ futures-util = { version = "0.3.17", default-features = false, features = ["allo
3232
mio = { version = "0.8", features = ["os-poll", "net"] }
3333
num_cpus = "1.13"
3434
socket2 = "0.4.2"
35-
tokio = { version = "1.13.1", features = ["sync"] }
35+
tokio = { version = "1.18.4", features = ["sync"] }
3636
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
3737

3838
# runtime for `io-uring` feature
@@ -46,4 +46,4 @@ actix-rt = "2.8"
4646
bytes = "1"
4747
env_logger = "0.10"
4848
futures-util = { version = "0.3.17", default-features = false, features = ["sink", "async-await-macro"] }
49-
tokio = { version = "1.13.1", features = ["io-util", "rt-multi-thread", "macros", "fs"] }
49+
tokio = { version = "1.18.4", features = ["io-util", "rt-multi-thread", "macros", "fs"] }

actix-tls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ actix-utils = "3"
4949
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
5050
impl-more = "0.1"
5151
pin-project-lite = "0.2.7"
52-
tokio = "1.13.1"
52+
tokio = "1.18.4"
5353
tokio-util = "0.7"
5454
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
5555

local-channel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ futures-util = { version = "0.3.17", default-features = false }
1818
local-waker = "0.1"
1919

2020
[dev-dependencies]
21-
tokio = { version = "1.13.1", features = ["rt", "macros"] }
21+
tokio = { version = "1.18.4", features = ["rt", "macros"] }

0 commit comments

Comments
 (0)