Xuanwo/backon
Make retry like a built-in feature provided by Rust. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 88
- Release rhythm 41
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 49
- age_days: 1604
- days_rel: 319
- days_push: 75
- n_releases_24m: 8
Adoption not part of the score
1051 stars · 58 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
BackON is a Rust library that makes retrying fallible functions feel like a built-in language feature, supporting both sync and async code with a fluent API. It provides built-in backoff strategies (exponential, constant, fibonacci), custom strategies, retry conditions, notifications, and works on wasm and no-std targets.
Use cases
- retry flaky HTTP requests with exponential backoff in Rust
- add retry logic to async functions with tokio
- retry blocking database calls with backoff
- customize which errors should trigger a retry
- implement dynamic backoff using HTTP Retry-After headers
- retry operations in wasm or no-std environments
When to choose
- you need retry with backoff for sync or async Rust code
- you want fine-grained control over retry conditions and notifications
- you need cross-platform support including wasm and no-std
- you want a simple, ergonomic retry API with minimal dependencies
When to avoid
- you need distributed rate limiting or circuit-breaker patterns beyond simple retry
- you are not working in Rust
- you need retry policies managed at the infrastructure level (e.g., service mesh or API gateway)
Facets
library · maturity stable
error-handling concurrency developer-tools developer-tools backend rust cross-platform wasm retry backoff async no-std exponential-backoff algorithms
10 sources
- readme: https://github.com/Xuanwo/backon · fetched 2026-08-28 · 677a4c3887dd
- homepage: https://docs.rs/backon/ · fetched 2026-08-29 · 0628727254fa
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/ · fetched 2026-08-29 · f4444a44113e
- site_page: https://docs.rs/crate/backon/latest · fetched 2026-08-29 · 75d4c2355b5a
- site_page: https://docs.rs/crate/backon/latest/features · fetched 2026-08-29 · 107258d255e9
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
- site_page: https://docs.rs/about/redirections · fetched 2026-08-29 · 1b1efd93105f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Xuanwo/backon | main | 74 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem