Skip to content

Commit 4860776

Browse files
committed
Crate: feature flag the wasm client.
This is a tad unfortunate but should get around cargo pulling in wasm dependencies when not building for wasm.
1 parent 9b5163a commit 4860776

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
@@ -15,8 +15,8 @@ edition = "2018"
1515
# when the default feature set is updated, verify that the `--features` flags in
1616
# `.github/workflows/ci.yaml` are updated accordingly
1717
default = ["h1-client", "middleware-logger", "encoding"]
18-
h1-client = ["wasm-client", "http-client/h1_client"]
19-
native-client = ["curl-client", "wasm-client", "http-client/native_client"]
18+
h1-client = ["http-client/h1_client"]
19+
native-client = ["curl-client", "http-client/native_client"]
2020
curl-client = ["http-client/curl_client"]
2121
wasm-client = ["http-client/wasm_client"]
2222
middleware-logger = []

0 commit comments

Comments
 (0)