Skip to content

Commit

Permalink
Crate: feature flag the wasm client.
Browse files Browse the repository at this point in the history
This is a tad unfortunate but should get around cargo pulling in wasm dependencies when not building for wasm.
  • Loading branch information
Fishrock123 committed Sep 7, 2020
1 parent 9b5163a commit 4860776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ edition = "2018"
# when the default feature set is updated, verify that the `--features` flags in
# `.github/workflows/ci.yaml` are updated accordingly
default = ["h1-client", "middleware-logger", "encoding"]
h1-client = ["wasm-client", "http-client/h1_client"]
native-client = ["curl-client", "wasm-client", "http-client/native_client"]
h1-client = ["http-client/h1_client"]
native-client = ["curl-client", "http-client/native_client"]
curl-client = ["http-client/curl_client"]
wasm-client = ["http-client/wasm_client"]
middleware-logger = []
Expand Down

0 comments on commit 4860776

Please sign in to comment.