Open xlfish233 opened 2 weeks ago
reqwest
has WASM support so the async-http-client
should work for this (in the future, it doesn't yet).
Currently, file support is only done via file system which won't work for WASM. So something like #183 is basically a requirement for WASM too. Maybe having a dedicated feature for having file system support? Otherwise, only byte streams are available?
Also, when running cargo build --target wasm32-unknown-unknown --no-default-features --features=async-http-client
a bunch of other errors comes up. Currently not sure what they are about, haven't looked into them any further yet.
I guess, WASM support seems feasible, so PR welcome?
Are there any plans for WebAssembly (Wasm) target support? I'm currently working on a Telegram bot using worker-rs. If possible, I would be willing to contribute to implementing partial support for Wasm target features.