http-rs / surf

Fast and friendly HTTP client framework for async Rust
https://docs.rs/surf
Apache License 2.0
1.45k stars 119 forks source link

client: make global client work with non-Clone HttpClient #239

Closed Fishrock123 closed 3 years ago

Fishrock123 commented 3 years ago

This is mostly required by the hyper client, so this is based on https://github.com/http-rs/surf/pull/234 for future simplicity. https://github.com/http-rs/surf/pull/238 will also create some conflicts here but they shouldn't be too difficult to solve.