Decision Workspace
backoff-macro vs altair-retry vs retry-if-macro
Side-by-side comparison of Rust crates
37
backoff-macro
growingv0.2.0
Mark an async function with #[backoff] to get the default ExponentialBackoff behavior. (tokio compatible)
50
altair-retry
experimentalv0.4.2
Async retry with exponential backoff, auto-traced via the tracing crate
48
retry-if-macro
growingv0.3.0
A tokio-compatible attribute-macro for decorating methods and functions with an exponential backoff.
Core Metrics
| backoff-macro | altair-retry | retry-if-macro | |
|---|---|---|---|
| Health Score | 37 | 50 | 48 |
| Total Downloads | 2.7K | 355 | 6.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 7 |
| Releases | 2 | 14 | 3 |
| Last Updated | 870d ago | 26d ago | 150d ago |
| Age | 2y 4m | 4m | 2y 5m |
Health Breakdown
backoff-macro
Maintenance
4
Quality
14
Community
5
Popularity
4
Documentation
10
altair-retry
Maintenance
17
Quality
12
Community
6
Popularity
3
Documentation
12
retry-if-macro
Maintenance
10
Quality
15
Community
8
Popularity
5
Documentation
10
Technical Details
| backoff-macro | altair-retry | retry-if-macro | |
|---|---|---|---|
| Version | 0.2.0 | 0.4.2 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 5 | 9 | 4 |
| Crate Size | 4KB | 16KB | 5KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.95 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •altair-retry leads with a health score of 50/100, but none of the options score above 80.
- •retry-if-macro has the most downloads (6.3K), suggesting wider adoption.
- •⚠ backoff-macro has not been updated in over a year.