strut_util/lib.rs
1#![doc = include_str!("../README.md")]
2#![deny(missing_docs)]
3#![cfg_attr(test, deny(warnings))]
4
5/// Implements an opinionated version of the exponential backoff.
6#[cfg(feature = "backoff")]
7mod backoff {
8 pub mod config;
9 pub mod wrapper;
10}
11#[cfg(feature = "backoff")]
12pub use self::backoff::{config::BackoffConfig, wrapper::Backoff};