async-std with the unstable feature enabled pulls in various wasm-specific dependencies via the gloo-timers dependency of futures-timer, even on non-wasm platforms. This adds quite a few dependencies, and shows up when building tide.
@joshtriplett agreed; we should fix that.
When I looked into this I was confused why this happens because in Cargo.toml it looks like the features are separated per target. I think it is related to https://github.com/rust-lang/cargo/issues/1197 .
Possible fix at https://github.com/async-rs/async-std/pull/864 doesn't rely on target-specific features and switches to a wasm feature, which would be semver-major for wasm users.
As far as I can tell, this issue also ends up interfering with the alloc feature
See also this older duplicate issue: https://github.com/async-rs/async-std/issues/823
fixed on master
Most helpful comment
When I looked into this I was confused why this happens because in Cargo.toml it looks like the features are separated per target. I think it is related to https://github.com/rust-lang/cargo/issues/1197 .