| Crates.io | backoff-config |
| lib.rs | backoff-config |
| version | 0.1.3 |
| created_at | 2025-05-20 22:10:25.937924+00 |
| updated_at | 2025-09-11 10:00:32.840648+00 |
| description | Flexible backoff configuration in Rust |
| homepage | https://github.com/yevtyushkin/backoff-config |
| repository | https://github.com/yevtyushkin/backoff-config |
| max_upload_size | |
| id | 1682588 |
| size | 53,453 |
backoff-config ⚙️This crate enables declarative configuration of backon retry crate strategies via environment variables or configuration files by:
Unifying the backoff strategies provided by the backon retry crate into a single enum (see BackoffConfig).
Implementing serde’s Deserialize to support loading strategies from various
configuration sources. Duration values are deserialized using human-readable formats (e.g. 5s, 150 ms).
figment crate:cargo run --example toml
figment crate:cargo run --example env
Consider the following unit test specs for the detailed configuration formats: