Skip to content

Commit 2928f76

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

watchman/rust/watchman_client/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +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 = { version = "1.7.1", features = ["io-util", "net", "rt", "process"] }
21+
tokio-util = { version = "0.6", features = ["codec"] }
2222

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

2626
[dev-dependencies]
2727
clap = { version = "4.5.7", features = ["derive"] }
28+
tokio = { version = "1.7.1", features = ["io-util", "net", "macros", "process", "rt-multi-thread", "test-util"] }
29+
tokio-util = { version = "0.6", features = ["codec", "io"] }
2830

2931
[lints.rust]
3032
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fbcode_build)"] }

0 commit comments

Comments
 (0)