Skip to content

Commit 0d4ca3f

Browse files
authored
chore(cargo): move tokio/net feature to client (#218)
move tokio/net feature to client to make TokioIo can used in wasm
1 parent 89b2cff commit 0d4ca3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ full = [
7272
"tracing",
7373
]
7474

75-
client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower-service"]
75+
client = ["hyper/client", "tokio/net", "dep:tracing", "dep:futures-channel", "dep:tower-service"]
7676
client-legacy = ["client", "dep:socket2", "tokio/sync", "dep:libc", "dep:futures-util"]
7777
client-proxy = ["client", "dep:base64", "dep:ipnet", "dep:percent-encoding"]
7878
client-proxy-system = ["dep:system-configuration", "dep:windows-registry"]
@@ -86,7 +86,7 @@ service = ["dep:tower-service"]
8686
http1 = ["hyper/http1"]
8787
http2 = ["hyper/http2"]
8888

89-
tokio = ["dep:tokio", "tokio/net", "tokio/rt", "tokio/time"]
89+
tokio = ["dep:tokio", "tokio/rt", "tokio/time"]
9090

9191
tracing = ["dep:tracing"]
9292

0 commit comments

Comments
 (0)