PackageTrack
Sign in Get early access

retry-policies

A collection of plug-and-play retry policies for Rust projects.

0.5.2 48M downloads/mo #1251 most downloaded on crates.io TrueLayer/retry-policies

What this package is like to depend on

Last release 3 months ago

09 May 2026

Ships fairly regularly

a new release about every 7 months

Nearly every release is documented

notes for 10 of 10 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

10 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

10 releases · Aug 2021 to May 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 10
  1. 0.5.2 09 May 2026
    Release notes

    Other

    • Bump rand from 0.9.1 to 0.10.1 (#32)
    Open source →
    Release notes

    Other

    • Bump rand from 0.9.1 to 0.10.1 (#32)
    Open source →
  2. 0.5.1 20 May 2025
    Release notes

    Changed

    • Improved bounded jitter to use 50% of min_retry_interval instead of 100%.
    Open source →
    Release notes

    Changed

    • Improved bounded jitter to use 50% of min_retry_interval instead of 100%.
    Open source →
  3. 0.5.0 14 May 2025
    Release notes

    Changed

    • [Breaking] Renamed build_with_total_retry_duration_and_max_retries to build_with_total_retry_duration_and_limit_retries.

    Added

    • Added build_with_total_retry_duration_and_max_retries.
    Open source →
    Release notes

    Changed

    • [Breaking] Renamed build_with_total_retry_duration_and_max_retries to build_with_total_retry_duration_and_limit_retries.

    Added

    • Added build_with_total_retry_duration_and_max_retries.
    Open source →
  4. 0.4.0 10 May 2024
    Release notes

    Changed

    • [Breaking] Replace chrono with standard library types
      • Replace chrono::DateTime<Utc> with std::time::SystemTime

    Removed

    • Remove unused anyhow dependency
    • Remove fake dependency
    Open source →
    Release notes

    Changed

    • [Breaking] Replace chrono with standard library types
      • Replace chrono::DateTime<Utc> with std::time::SystemTime

    Removed

    • Remove unused anyhow dependency
    • Remove fake dependency
    Open source →
  5. 0.3.0 04 Mar 2024
    Release notes
    • [Breaking] Implement RetryPolicy for ExponentialBackoffTimed, which requires a modification to the should_retry method of
      RetryPolicy in order to pass the time at which the task (original request) was started.
    Open source →
    Release notes
    • [Breaking] Implement RetryPolicy for ExponentialBackoffTimed, which requires a modification to the should_retry method of RetryPolicy in order to pass the time at which the task (original request) was started.
    Open source →
  6. 0.2.1 11 Oct 2023
    Release notes

    Added

    • Total duration algorithm can now be configured to also consider max retries, calculated applying no jitter (1.0)
      • We enforce whatever comes first, total duration or max retries
    • Exponential base is now configurable
    Open source →
  7. 0.2.0 21 Jul 2023
    Release notes

    Changed

    • [Breaking] Change backoff and jitter algorithms
      • Change the backoff algorithm to a more conventional exponential backoff.
      • Replace the decorrelated jitter algorithm with an option of either none, full, or bounded. Defaults to full jitter.
    • [Breaking] Remove ExponentialBackoffBuilder::backoff_exponent()
      • The number of attempts is now used as the exponent.
    • [Breaking] Require a task start time when using a total retry duration
      • ExponentialBackoffBuilder::build_with_total_retry_duration() now returns ExponentialBackoffTimed which does not implement RetryPolicy.
    • [Breaking] Mark ExponentialBackoff as non_exhaustive
      • Can no longer be constructed directly.
    Open source →
  8. 0.1.2 28 Oct 2022
    Release notes

    Added

    • Debug derived for RetryDecision
    Open source →
  9. 0.1.1 18 Oct 2021
    Release notes

    (cargo-release) retry-policies version 0.1.1

    Open source →
    Release notes

    Security

    • remove time v0.1 dependency
    Open source →
  10. 0.1.0 11 Aug 2021
    Release notes

    (cargo-release) retry-policies version 0.1.0

    Open source →
    Release notes

    Added

    • ExponentialBackoff policy.
    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