Skip to content

Commit

Permalink
don't add web-sys to native builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph committed Jan 31, 2024
1 parent 2b6e38a commit 72a8143
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions ehttp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,17 @@ wasm-bindgen-futures = "0.4"
# Streaming response
futures-util = { version = "0.3", optional = true }
wasm-streams = { version = "0.4", optional = true }


[dependencies.web-sys]
version = "0.3.52"
features = [
"AbortSignal",
"console",
"Headers",
"ReadableStream",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
]
web-sys = {
version = "0.3.52"
features = [
"AbortSignal",
"console",
"Headers",
"ReadableStream",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
]
}

0 comments on commit 72a8143

Please sign in to comment.