Stay up to date on releases
Create your free account today to subscribe to this repository for notifications about new releases, and build software alongside 40 million developers on GitHub.
Sign up for free See pricing for teams and enterprisesretry's API is now stable for the 1.0 series.
New features:
- Added a
retry_with_indexfunction that works likeretry, but passes the number of the current try (asu64) as an argument to the supplied closure.
Improvements:
retry::delay::{Exponential, Fibonacci}now implementFrom<std::time::Duration>.retry::delay::Rangenow implementsFrom<std::ops::Range<std::time::Duration>>andFrom<std::ops::RangeInclusive<std::time::Duration>>.