Decision Workspace
backoff-macro vs retryx vs retry-if-macro
Side-by-side comparison of Rust crates
38
backoff-macro
growingv0.2.0
Mark an async function with #[backoff] to get the default ExponentialBackoff behavior. (tokio compatible)
46
retryx
experimentalv1.0.0
Async-first retry and exponential backoff helper for Tokio-based Rust applications.
42
retry-if-macro
growingv0.2.2
A tokio-compatible attribute-macro for decorating methods and functions with an exponential backoff.
Core Metrics
| backoff-macro | retryx | retry-if-macro | |
|---|---|---|---|
| Health Score | 38 | 46 | 42 |
| Total Downloads | 2.7K | 20 | 5.3K |
| 30d Downloads | 4 | 4 | 195 |
| Dependents | 0 | 0 | 5 |
| Releases | 2 | 1 | 2 |
| Last Updated | 673d ago | 100d ago | 620d ago |
| Age | 1y 10m | 3m | 1y 11m |
Health Breakdown
backoff-macro
Maintenance
5
Quality
14
Community
5
Popularity
4
Documentation
10
retryx
Maintenance
8
Quality
17
Community
6
Popularity
2
Documentation
13
retry-if-macro
Maintenance
5
Quality
15
Community
8
Popularity
4
Documentation
10
Technical Details
| backoff-macro | retryx | retry-if-macro | |
|---|---|---|---|
| Version | 0.2.0 | 1.0.0 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 5 | 2 | 4 |
| Crate Size | 4KB | 6KB | 4KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •retryx leads with a health score of 46/100, but none of the options score above 80.
- •retry-if-macro has the most downloads (5.3K), suggesting wider adoption.
- •⚠ backoff-macro, retry-if-macro have not been updated in over a year.
- •backoff-macro, retry-if-macro are pre-1.0 — API may change.