Closed pando-fredrik closed 8 months ago
Thanks for pointing this out. In fact tokio should be an optional dependency; it's only needed when the fetch feature is enabled. Fixed in HEAD.
(Hopefully one day the crate will build for wasm with fetch support, but currently the reqwest crate doesn't support timeouts nor chunked downloads.)
Move the tokio dependency to allow the library to build (with --no-default-features) on wasm32.