http-rs / http-rs/async-h1

Please don't pull in wasm dependencies on non-wasm platforms

Open
#136 5 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.