Async HTTP client crate recommendation


I am mulling over a few options for a http request crate.

My use case is very simple - I need to make concurrent requests to a public API over https, and fan-in the responses from each call into a single output file. Performance is a consideration in my case, so a library that can easily take advantage of multiple cores would be ideal.

Given my constraints, what would you personally use for this? Reqwest? Actix-web’s HTTP client? Hyper? Tokio-curl?

Thank you in advance!

I would use reqwest or hyper because actix-web is a huge dependency if you aren’t using it for anything else. I don’t think performance will be different. I don’t know about tokio-curl.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.