DioxusLabs / DioxusLabs/blitz

Add `ureq` backend to `blitz-net`

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
4.1k
Forks
203
Avg merge
8h 58m
Merged PRs (30d)
112

Description

The motivation for this is primarily as a binary size optimisation for apps that want networking but do not need 100s of connections and do not otherwise need `tokio` or an async executor in their stack.

The implementation should:

- [ ] Be part of the existing `blitz-net` crate with feature flags for each backend
- [ ] Use the new 3.x version of `ureq`
- [ ] Split the `reqwest` and `ureq` implementations in separate files/modules
- [ ] Use a threadpool to allow for multiple concurrent requests
- [ ] Implement the `blitz_net::get_text` method as well as `blitz_net::Provider`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.