16 releases (6 breaking)

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

#42 in HTTP client

Download history 302585/week @ 2025-01-30 367906/week @ 2025-02-06 354656/week @ 2025-02-13 340926/week @ 2025-02-20 455181/week @ 2025-02-27 699679/week @ 2025-03-06 601804/week @ 2025-03-13 1243537/week @ 2025-03-20 418011/week @ 2025-03-27 463230/week @ 2025-04-03 397130/week @ 2025-04-10 265896/week @ 2025-04-17 260939/week @ 2025-04-24 275515/week @ 2025-05-01 298151/week @ 2025-05-08 225074/week @ 2025-05-15

1,111,517 downloads per month
Used in 183 crates (114 directly)

MIT/Apache

64KB
804 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–17MB
~214K SLoC