I use reqwest for HTTP and have a bunch of problems with timeouts:
- timeouts are per client, so I have to create new client, if some parts of REST API is slower then other
- timeout can for HTTP request can be triggered before it even executed, if you execute several API requests: github issue
- when I download big file via http, I need timeout per chunk,
not per whole request, to prevent triggered timeout when user download 95% of big file
All this stuff is impossible with current reqwest,
and looks like reqwest development are stopped.
Any other good API clients, that are:
- have good timeout handling
- Rust only (except SSL part)
- can use tokio under the hood
?