PackageTrack
Sign in Get early access

tokio-retry2

Extensible, asynchronous retry behaviors for futures/tokio

0.9.1 15M downloads/mo #2488 most downloaded on crates.io naomijub/tokio-retry

What this package is like to depend on

Last release 7 months ago

11 Jan 2026

Release timing varies

gaps range from 8 days to 7 months

Most releases are documented

notes for 13 of 16 stable releases

1 version withdrawn

withdrawn after publishing

2 years old

17 releases · first in 2024

8 releases in the last 12 months

see the full history below

Release timeline

17 releases · Sep 2024 to Jan 2026
2025 2026
Release Pre-release Withdrawn

Releases

latest 17
  1. 0.9.1 11 Jan 2026
    Release notes

    Bugfix

    • Requires Notify trait to implement Send for multi-thread environments
    Open source →
  2. 0.9.0 11 Jan 2026
    Release notes

    Breaking

    • Enforces must_use for functions returning Self.
    • jitter_range now receives a Range<u32>, and previous jitter_range is now called jitter_with_bounds.
    • Improved RetryError::ToString

    Feature

    • Includes LinearBackoff strategy.
    Open source →
  3. 0.8.0 10 Jan 2026
    Release notes
    • Implemented Notify for Box<dyn Notify> to support trait objects.
    • Modified spawn_notify to accept generic Notify implementations.
    • Added EmptyNotify for default no-op behavior.
    • Exported Notify trait from library root.
    • Tighten clippy behaviour #23.
    Open source →
  4. 0.7.0 14 Nov 2025
    Release notes

    Breaking

    • Increased minimum required version to 1.88.
    • Internal API change.
    Open source →
  5. 0.6.2 14 Nov 2025

    Nothing published for this version

  6. 0.6.1 12 Nov 2025 withdrawn

    Nothing published for this version

  7. 0.6.0 03 Sep 2025
    Release notes

    Breaking

    • Updated to edition 2024.
    Open source →
  8. 0.5.8 02 Sep 2025

    Nothing published for this version

  9. 0.5.7 03 Feb 2025

    Nothing published for this version

  10. 0.5.6 06 Oct 2024
    Release notes
    • Added ExponentialFactorBackoff, where the exponential value is the factor and not the duration.
    Open source →
  11. 0.5.5 04 Oct 2024
    Release notes
    • Include feature tracing to inform when a max_duration or max_delay has been reached.
    • Fixed bug that retry_after duration was not overwriting the strategy duration.
    • jitter ranges between 50% and 150% of initial duration.
    • Adds jitter_range for custom map jitter ranges.
    Open source →
  12. 0.5.4 25 Sep 2024
    Release notes
    • Exports MaxIntervalIterator as standard strategy struct.
    Open source →
  13. 0.5.3 18 Sep 2024
    Release notes
    • Documentation fix.
    • Fixes Transient duration behavior, overwriting original duration.
    Open source →
  14. 0.5.2 17 Sep 2024
    Release notes
    • Add implicit conversion from Result<T, E> to RetryResult<T, E> a type enabled by feature to handle implicit type conversions from E to RetryError<E>::Transient. Same for Option<T>.
    • Adds PartialEq between Result<T, RetryError<E>> and RetryResult<T, E> for T and E bounded by PartialEq.
    • Cargo update.
    Open source →
  15. 0.5.1 17 Sep 2024
    Release notes

    #6

    • Adds MapErr trait to RetryError, that facilitates handling map_err in Result types, transforming them into Result<_, RetryError<_>>
    Open source →
  16. 0.5.0 16 Sep 2024
    Release notes
    • Adds RetryError type inspired by backoff Error where user can define Errors as Transient and Permanent so it is possible to early exit a retry.
    Open source →
  17. 0.4.0 04 Sep 2024
    Release notes
    • Adds Retry::spawn_notify to notify a retry with the associated Error and current Duration, PR #4.
    • Adds github actions removing obsolete travis.ci.
    • Bi-monthly runs CI checking for outdated dependencies.
    • Applies const to functions that can be const.
    • Adds linting defaults.
    • Optional jitter from @fuzzbuck PR #26
    • Implements max_interval from @pzmarzly PR #27
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive