Skip to content

Commit 424bd31

Browse files
committed
Upgrade tokio package
1 parent 969c8dc commit 424bd31

File tree

17 files changed

+23
-23
lines changed

17 files changed

+23
-23
lines changed

src/rust/engine/Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rust/engine/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ task_executor = { path = "task_executor" }
126126
tempfile = "3"
127127
time = "0.1.40"
128128
# TODO: See #10291.
129-
tokio = { version = "=0.2.20", features = ["rt-threaded"] }
129+
tokio = { version = "=0.2.22", features = ["rt-threaded"] }
130130
ui = { path = "ui" }
131131
url = "2.1"
132132
uuid = { version = "0.7", features = ["v4"] }

src/rust/engine/async_semaphore/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ publish = false
88
[dependencies]
99
parking_lot = "0.11"
1010
# TODO: See #10291.
11-
tokio = { version = "=0.2.20", features = ["sync"] }
11+
tokio = { version = "=0.2.22", features = ["sync"] }
1212

1313
[dev-dependencies]
1414
futures = "0.3"
1515
# TODO: See #10291.
16-
tokio = { version = "=0.2.20", features = ["rt-core", "macros", "time"] }
16+
tokio = { version = "=0.2.22", features = ["rt-core", "macros", "time"] }

src/rust/engine/fs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ task_executor = { path = "../task_executor" }
2222
tempfile = "3"
2323
testutil = { path = "../testutil" }
2424
# TODO: See #10291.
25-
tokio = { version = "=0.2.20", features = ["rt-core", "macros"] }
25+
tokio = { version = "=0.2.22", features = ["rt-core", "macros"] }

src/rust/engine/fs/brfs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ store = { path = "../store" }
2323
task_executor = { path = "../../task_executor" }
2424
time = "0.1.39"
2525
# TODO: See #10291.
26-
tokio = { version = "=0.2.20", features = ["rt-threaded", "macros", "signal", "stream"] }
26+
tokio = { version = "=0.2.22", features = ["rt-threaded", "macros", "signal", "stream"] }
2727
workunit_store = { path = "../../workunit_store" }
2828

2929
[dev-dependencies]

src/rust/engine/fs/fs_util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ serde_derive = "1.0"
2323
store = { path = "../store" }
2424
task_executor = { path = "../../task_executor" }
2525
# TODO: See #10291.
26-
tokio = { version = "=0.2.20", features = ["rt-threaded", "macros"] }
26+
tokio = { version = "=0.2.22", features = ["rt-threaded", "macros"] }
2727
workunit_store = { path = "../../workunit_store" }

src/rust/engine/fs/store/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ maplit = "*"
3737
mock = { path = "../../testutil/mock" }
3838
testutil = { path = "../../testutil" }
3939
# TODO: See #10291.
40-
tokio = { version = "=0.2.20", features = ["rt-core", "macros"] }
40+
tokio = { version = "=0.2.22", features = ["rt-core", "macros"] }
4141
walkdir = "2"
4242
criterion = "0.3"
4343

src/rust/engine/graph/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ log = "0.4"
1313
parking_lot = "0.11"
1414
petgraph = "0.4.5"
1515
# TODO: See #10291.
16-
tokio = { version = "=0.2.20", features = ["time"] }
16+
tokio = { version = "=0.2.22", features = ["time"] }
1717

1818
[dev-dependencies]
1919
rand = "0.6"
2020
env_logger = "0.5.4"
2121
# TODO: See #10291.
22-
tokio = { version = "=0.2.20", features = ["macros", "rt-threaded", "time"] }
22+
tokio = { version = "=0.2.22", features = ["macros", "rt-threaded", "time"] }

src/rust/engine/logging/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ lazy_static = "1"
1212
log = "0.4"
1313
num_enum = "0.4"
1414
parking_lot = "0.11"
15-
tokio = { version = "=0.2.20", features = ["rt-util"] } # TODO: see https://github.com/pantsbuild/pants/issues/10291
15+
tokio = { version = "=0.2.22", features = ["rt-util"] } # TODO: see https://github.com/pantsbuild/pants/issues/10291
1616
uuid = { version = "0.7", features = ["v4"] }
1717

1818
[build-dependencies]

src/rust/engine/nailgun/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ nails = "0.6.0"
1313
os_pipe = "0.9"
1414
task_executor = { path = "../task_executor" }
1515
# TODO: See #10291.
16-
tokio = { version = "=0.2.20", features = ["tcp", "fs", "sync"] }
16+
tokio = { version = "=0.2.22", features = ["tcp", "fs", "sync"] }
1717

1818
[dev-dependencies]
1919
# TODO: See #10291.
20-
tokio = { version = "=0.2.20", features = ["dns", "rt-threaded", "macros"] }
20+
tokio = { version = "=0.2.22", features = ["dns", "rt-threaded", "macros"] }

src/rust/engine/process_execution/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ task_executor = { path = "../task_executor" }
3131
tempfile = "3"
3232
concrete_time = { path = "../concrete_time" }
3333
# TODO: See #10291.
34-
tokio = { version = "=0.2.20", features = ["process", "rt-threaded", "sync", "tcp", "time"] }
34+
tokio = { version = "=0.2.22", features = ["process", "rt-threaded", "sync", "tcp", "time"] }
3535
tokio-util = { version = "0.2", features = ["codec"] }
3636
uname = "0.1.1"
3737
workunit_store = { path = "../workunit_store" }
@@ -52,4 +52,4 @@ spectral = "0.6.0"
5252
tempfile = "3"
5353
testutil = { path = "../testutil" }
5454
# TODO: See #10291.
55-
tokio = { version = "=0.2.20", features = ["macros"] }
55+
tokio = { version = "=0.2.22", features = ["macros"] }

src/rust/engine/process_executor/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ process_execution = { path = "../process_execution" }
1717
store = { path = "../fs/store" }
1818
task_executor = { path = "../task_executor" }
1919
# TODO: See #10291.
20-
tokio = { version = "=0.2.20", features = ["rt-threaded", "macros"] }
20+
tokio = { version = "=0.2.22", features = ["rt-threaded", "macros"] }
2121
workunit_store = { path = "../workunit_store"}

src/rust/engine/serverset/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ publish = false
99
futures = "0.3"
1010
parking_lot = "0.11"
1111
# TODO: See #10291.
12-
tokio = { version = "=0.2.20", features = ["time"] }
12+
tokio = { version = "=0.2.22", features = ["time"] }
1313

1414
[dev-dependencies]
1515
maplit = "1"
1616
testutil = { path = "../testutil" }
1717
# TODO: See #10291.
18-
tokio = { version = "=0.2.20", features = ["rt-core", "macros"] }
18+
tokio = { version = "=0.2.22", features = ["rt-core", "macros"] }

src/rust/engine/task_executor/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ futures = "0.3"
1010
logging = { path = "../logging" }
1111
num_cpus = "1"
1212
# TODO: See #10291.
13-
tokio = { version = "=0.2.20", features = ["blocking", "rt-threaded"] }
13+
tokio = { version = "=0.2.22", features = ["blocking", "rt-threaded"] }
1414
workunit_store = { path = "../workunit_store" }

src/rust/engine/testutil/mock/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ parking_lot = "0.11"
1717
protobuf = { version = "2.0.6", features = ["with-bytes"] }
1818
testutil = { path = ".." }
1919
# TODO: See #10291.
20-
tokio = { version = "=0.2.20", features = ["time"] }
20+
tokio = { version = "=0.2.22", features = ["time"] }

src/rust/engine/watch/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ task_executor = { path = "../task_executor" }
2121
tempfile = "3"
2222
testutil = { path = "../testutil" }
2323
# TODO: See #10291.
24-
tokio = { version = "=0.2.20", features = ["rt-core", "macros"] }
24+
tokio = { version = "=0.2.22", features = ["rt-core", "macros"] }

src/rust/engine/workunit_store/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ hashing = { path = "../hashing" }
1111
parking_lot = "0.11"
1212
rand = "0.6"
1313
# TODO: See #10291.
14-
tokio = { version = "=0.2.20", features = ["rt-util"] }
14+
tokio = { version = "=0.2.22", features = ["rt-util"] }
1515
petgraph = "0.4.5"
1616
log = "0.4"

0 commit comments

Comments
 (0)