yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
216 stars 81 forks source link

feat: storage - change reqwest::Client for reqwest_middleware::Client #228

Closed nicolas-vivot closed 5 months ago

nicolas-vivot commented 5 months ago

description

This PR replace the use of reqwest::Client by reqwest_middleware::Client.

motivation behind this change

We (in my company) need to perform automatic retry around our GCS requests. This could be done by adding a wrapper around our use of google-cloud-rust, that would solve the immediate need. But there might be additional need in the near future to enrich requests being made.

benefits

Feel free to add any constructive comments.

yoshidan commented 5 months ago

Thanks!