Skip to content

Commit 8d1b31a

Browse files
committed
Minimize the set of tokio features that need to be enabled.
1 parent c932fb2 commit 8d1b31a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

watchman/rust/watchman_client/Cargo.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@ maplit = "1.0"
1717
serde = { version = "1.0.126", features = ["derive", "rc"] }
1818
serde_bser = { version = "0.4", path = "../serde_bser" }
1919
thiserror = "1.0"
20-
tokio = { version = "1.7.1", features = ["full", "test-util"] }
21-
tokio-util = { version = "0.6", features = ["full"] }
20+
tokio = {
21+
version = "1.7.1",
22+
features = [
23+
"io-util",
24+
"net",
25+
"process",
26+
"test-util"
27+
]
28+
}
29+
tokio-util = { version = "0.6", features = ["codec"] }
2230

2331
[target.'cfg(windows)'.dependencies]
2432
winapi = { version = "0.3", features = ["fileapi", "handleapi", "winbase", "winuser"] }

0 commit comments

Comments
 (0)