loop-retry 0.1.1

Generic async retry with exponential backoff and jitter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![forbid(unsafe_code)]
#![deny(missing_docs)]

//! Generic async retry with exponential backoff and jitter.
//!
//! Use [`with_backoff`] to retry fallible async operations with configurable
//! backoff strategy. Implement [`IsRetryable`] on your error type to control
//! which errors trigger retries.

mod config;
mod retry;
mod traits;

pub use config::RetryConfig;
pub use retry::{RetryError, with_backoff};
pub use traits::IsRetryable;