Open taladar opened 11 months ago
After looking out what happend to hyper::Client
after stumbling over it in some examples (for sharing a pooled connection in axum), I ended up here. (New to rust, so sorry if I break some conventions or seem rude😅 )
My adventure through this issue, thanks for that :) But the resulting question kind of plays into this:
Client
as legacy, should anyone be encouraged to use legacy for new code?hyper::Client
internally, as far as I can tell, implying the recommendation of hyper to get a pooled connection is to use an older version of hyper.As I am new to this, I might misunderstand some things around this :) I'll just leave it as food for thought though (and because I secretly hope I'll end up with a recommendation for a higher level client api)
Version 1.0.1
https://docs.rs/hyper/1.0.1/hyper/client/conn/index.html
The link just goes to the module hyper::client above which only contains conn now. Presumably it refers to the code now moved to hyper-util.