16 releases (6 breaking)

new 0.7.0 Nov 11, 2024
0.6.0 Jun 28, 2024
0.4.0 Mar 5, 2024
0.3.0 Sep 8, 2023
0.1.3 Oct 18, 2021

#33 in HTTP client

Download history 131018/week @ 2024-07-27 114178/week @ 2024-08-03 135955/week @ 2024-08-10 142638/week @ 2024-08-17 119388/week @ 2024-08-24 118826/week @ 2024-08-31 123341/week @ 2024-09-07 123597/week @ 2024-09-14 128917/week @ 2024-09-21 139770/week @ 2024-09-28 140862/week @ 2024-10-05 137117/week @ 2024-10-12 156097/week @ 2024-10-19 148182/week @ 2024-10-26 144815/week @ 2024-11-02 121923/week @ 2024-11-09

597,803 downloads per month
Used in 141 crates (96 directly)

MIT/Apache

64KB
801 lines

reqwest-retry

Retry middleware implementation for reqwest-middleware.

Crates.io Docs.rs CI Coverage Status

Overview

Build RetryTransientMiddleware from a RetryPolicy, then attach it to a reqwest_middleware::ClientBuilder. retry-policies::policies is reexported under reqwest_retry::policies for convenience.

See reqwest_middleware for usage with reqwest.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
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.

Dependencies

~5–16MB
~205K SLoC