# retry-policies
A collection of plug-and-play retry policies for Rust projects.
[](https://crates.io/crates/retry-policies)
[](https://docs.rs/retry-policies)
[](https://github.com/TrueLayer/retry-policies/actions)
[](https://coveralls.io/github/TrueLayer/rust-retry-policies?branch=main)
Currently available algorithms:
- [`ExponentialBackoff`](https://docs.rs/retry-policies/latest/retry_policies/policies/struct.ExponentialBackoff.html),
with configurable jitter.
## How to install
Add `retry-policies` to your dependencies
```toml
[dependencies]
# ...
retry-policies = "0.4.0"
```
## 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>