Skip to content

Commit

Permalink
don't add web-sys to native builds (#48)
Browse files Browse the repository at this point in the history
Not sure if `web-sys` was intentionally added as a dependency to all
builds? Does not seem to be required for native builds.
  • Loading branch information
jrudolph authored Feb 1, 2024
1 parent 2b6e38a commit 809f330
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ehttp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ wasm-bindgen-futures = "0.4"
futures-util = { version = "0.3", optional = true }
wasm-streams = { version = "0.4", optional = true }


[dependencies.web-sys]
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.52"
features = [
"AbortSignal",
Expand Down

0 comments on commit 809f330

Please sign in to comment.