https://github.com/truelayer/retry-policies
A collection of plug-and-play retry policies for Rust projects.
https://github.com/truelayer/retry-policies
Last synced: 10 months ago
JSON representation
A collection of plug-and-play retry policies for Rust projects.
- Host: GitHub
- URL: https://github.com/truelayer/retry-policies
- Owner: TrueLayer
- License: apache-2.0
- Created: 2021-08-10T13:46:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T17:05:06.000Z (about 2 years ago)
- Last Synced: 2024-12-17T12:22:33.982Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 38.1 KB
- Stars: 14
- Watchers: 15
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 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
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.