reqwest-middleware/reqwest-retry
Ethan Brierley c54a7733b9 fix(lint): `clippy::doc_lazy_continuation`
```
error: doc list item missing indentation
Error:   --> reqwest-retry/src/middleware.rs:62:4
   |
62 | /// `Body`'s `From<String>` or `From<Bytes>` implementations.
   |    ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
help: indent this line
   |
62 | ///   `Body`'s `From<String>` or `From<Bytes>` implementations.
   |     ++

error: doc list item missing indentation
Error:   --> reqwest-retry/src/middleware.rs:65:4
   |
65 | /// source directly, avoiding the issue of streaming requests not being clonable.
   |    ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
65 | ///   source directly, avoiding the issue of streaming requests not being clonable.
   |     ++

error: could not compile `reqwest-retry` (lib) due to 2 previous errors
```
2024-07-29 20:28:02 +01:00
..
src fix(lint): `clippy::doc_lazy_continuation` 2024-07-29 20:28:02 +01:00
tests/all fix typos, add github action (#122) 2024-03-12 15:10:18 +00:00
.gitignore Initial commit 2021-08-13 08:59:58 +01:00
CHANGELOG.md chore: prepare release 🚀 (#165) 2024-06-28 10:43:04 +01:00
Cargo.toml Remove superfluous dependency to chrono (#170) 2024-07-23 11:15:17 +01:00
LICENSE-APACHE Fix missing LICENSE-* files in released crates (#147) 2024-04-26 13:53:50 +01:00
LICENSE-MIT Fix missing LICENSE-* files in released crates (#147) 2024-04-26 13:53:50 +01:00
README.md Include README in crate doctests and improve documentation (#8) 2021-09-28 19:26:03 +01:00

README.md

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.