Skip to main content

loop_retry/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3
4//! Generic async retry with exponential backoff and jitter.
5//!
6//! Use [`with_backoff`] to retry fallible async operations with configurable
7//! backoff strategy. Implement [`IsRetryable`] on your error type to control
8//! which errors trigger retries.
9
10mod config;
11mod retry;
12mod traits;
13
14pub use config::RetryConfig;
15pub use retry::{RetryError, with_backoff};
16pub use traits::IsRetryable;