# reqwest-retry Retry middleware implementation for [`reqwest-middleware`](https://crates.io/crates/reqwest-middleware). [](https://crates.io/crates/reqwest-retry) [](https://docs.rs/reqwest-retry) [](https://github.com/TrueLayer/reqwest-middleware/actions) [](https://coveralls.io/github/TrueLayer/reqwest-middleware?branch=main) ## Overview Build `RetryTransientMiddleware` from a `RetryPolicy`, then attach it to a `reqwest_middleware::ClientBuilder`. [`retry-policies::policies`](https://crates.io/crates/retry-policies) is reexported under `reqwest_retry::policies` for convenience. See [`reqwest_middleware`](https://docs.rs/reqwest_middleware) for usage with reqwest. #### License <sup> Licensed under either of <a href="LICENSE-APACHE">Apache License, Version 2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option. </sup> <br> <sub> Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. </sub>