#http-request #http #native #web-native #request #web

reqwest-cross

Wrapper around reqwest for use in both native and wasm

5 releases

new 0.3.0 Apr 17, 2024
0.2.3 Sep 4, 2023
0.2.2 Jul 19, 2023
0.2.1 Apr 27, 2023
0.2.0 Apr 24, 2023

#244 in HTTP client

MIT/Apache

11KB

reqwest-cross

Wrapper around reqwest for ease of use in applications that target BOTH native and wasm but do not want to block in the calling task (eg. A UI thread). Inspired by ehttp but uses reqwest instead. Doesn't provide much value if you're only targeting one or the other because request does that pretty well, see their wasm example.

License

All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both as noted in this issue on Bevy's repo.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4–16MB
~207K SLoC