Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ureq backend to blitz-net #181

Open
5 tasks
nicoburns opened this issue Jan 20, 2025 · 0 comments
Open
5 tasks

Add ureq backend to blitz-net #181

nicoburns opened this issue Jan 20, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@nicoburns
Copy link
Collaborator

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
@nicoburns nicoburns added enhancement New feature or request good first issue Good for newcomers and removed enhancement New feature or request labels Jan 20, 2025
@nicoburns nicoburns changed the title Add ureq backed to blitz-net Add ureq backend to blitz-net Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant