DioxusLabs/blitz

Add `ureq` backend to `blitz-net`

オープン

#181 opened on 2025/01/20

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (152 件のフォーク)github user discovery
good first issue

Repository metrics

Stars
 (3,639 個のスター)
PR merge metrics
 (平均マージ 7h 25m) (30d で 50 merged PRs)

説明

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

コントリビューターガイド