Skip to content

Commit 74aa018

Browse files
committed
Auto merge of #3628 - RalfJung:tokio, r=RalfJung
add back some tokio features Turns out I went a bit too fer when I removed features, so `socketpair` was no longer used.
2 parents 6619d43 + 1a58ab1 commit 74aa018

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

test_dependencies/Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test_dependencies/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
1818
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
1919
tempfile = "3"
2020
page_size = "0.6"
21-
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "time", "net"] }
21+
# Avoid pulling in all of tokio's dependencies.
22+
# However, without `net` and `signal`, tokio uses fewer relevant system APIs.
23+
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "time", "net", "fs", "sync", "signal"] }
2224

2325
[target.'cfg(windows)'.dependencies]
2426
windows-sys = { version = "0.52", features = [ "Win32_Foundation", "Win32_System_Threading" ] }

0 commit comments

Comments
 (0)