Please don't pull in wasm dependencies on non-wasm platforms
Open
- Dominant language
- Rust
- Stars
- 166
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
async-h1 depends on `async-std` with the `unstable` feature; that in turn pulls in wasm dependencies via `futures-timer` then `gloo-timers`. Please consider adjusting the feature flag dependencies to avoid pulling `gloo-timers` and its pile of wasm-specific dependencies on non-wasm platforms.
Contributor guide
Research direction
Start by tracing async-h1's Cargo feature and dependency declarations through async-std, futures-timer, and gloo-timers, focusing on the unstable feature and platform conditions. Verify the dependency graph on non-wasm and wasm targets; done means non-wasm builds no longer pull in the wasm-specific dependencies while wasm support remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100