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

Tokio 1.0 support #295

Open niklasad1 opened 3 years ago

niklasad1 commented 3 years ago

Hey, thanks for this library and I would like to see support for tokio 1.0, for example https://github.com/paritytech/jsonrpsee/issues/227 would help us to move to surf instead of directly using hyper.

Currently this seems to blocked on https://github.com/http-rs/http-client/pull/74

Is there anything else that is blocking and what can I do to help to push this forward?

sunng87 commented 3 years ago

Once http-rs/http-client#74 merged we can simply upgrade async-std to 1.9 and use their tokio1 feature to get surf work on tokio 1.0.

Fishrock123 commented 3 years ago

semver-major because we re-export http-client stuff and it's also semver-major over there

(And would also be semver-major if it were all here.)