-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please don't pull in wasm dependencies on non-wasm platforms #136
Comments
async-rs/async-std#823 — I believe this is a cargo bug. Proposed async-std solution here: async-rs/async-std#864. This also breaks no-std for async-std, as far as I can tell. I personally believe this issue is fairly important |
Closing this issue because there's nothing we can do to resolve it here or in the other http-rs crates that have this problem, but please add your support to async-rs/async-std#823 |
Does async-h1 need the "unstable" feature of async-std? Could it have a finer-grained dependency? |
That's a great point. Async-h1 itself does not |
Unfortunately, this does not really fix the problem — async-h1 depends on http-types, which uses async_std::sync::channel, which is gated behind |
async-h1 depends on
async-std
with theunstable
feature; that in turn pulls in wasm dependencies viafutures-timer
thengloo-timers
. Please consider adjusting the feature flag dependencies to avoid pullinggloo-timers
and its pile of wasm-specific dependencies on non-wasm platforms.The text was updated successfully, but these errors were encountered: