{"repo":"Xuanwo/backon","free":true,"listed":false,"github":"https://github.com/Xuanwo/backon","clone":"git clone https://github.com/Xuanwo/backon.git","description":"Make retry like a built-in feature provided by Rust.","language":"Rust","stars":1049,"topics":["async","backoff","rust","retry"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"BackON &emsp; [![Build Status]][actions] [![Latest Version]][crates.io] [Build Status]: https://img.shields.io/github/actions/workflow/status/Xuanwo/backon/ci.yml?branch=main [actions]: https://github.com/Xuanwo/backon/actions?query=branch%3Amain [Latest Version]: https://img.shields.io/crates/v/backon.svg [crates.io]: https://crates.io/crates/backon Make retry like a built-in feature provided by Rust. - Simple API : Native feel: your fn.retry(ExponentialBuilder::default()).await . - Sync & Async : Supports both blocking and async operations seamlessly. - Precise Control : Define when to retry and get notified via when and notify . - Custom Strategies : Use built-in backoff strategies (exponential, constant) or define custom ones. Also supports dynamic backoff, such as using the HTTP Retry-After header. - Cross-Platform : Works everywhere Rust does, including wasm & no-std . --- Quick Start For more examples, check out the examples. Retry an async function. Retry a blocking function. Contributing Check out the CONTRIBUTING.md guide for more details on getting started with contributing to this project. Getting help Submit issues for bug report or asking questions in discussion. License Licensed under Apache License, Version 2.0 .","default_branch":null,"files":null,"tree":[],"storefront":"/r/Xuanwo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Xuanwo/backon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}