backon 1.3.0

Make retry like a built-in feature provided by Rust.
Documentation
[dependencies.fastrand]
version = "2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.reqwest]
version = "0.12"

[dev-dependencies.spin]
version = "0.9.8"

[features]
default = ["std-blocking-sleep", "tokio-sleep", "gloo-timers-sleep"]
gloo-timers-sleep = ["dep:gloo-timers", "gloo-timers?/futures"]
std-blocking-sleep = []
tokio-sleep = ["dep:tokio", "tokio?/time"]

[lib]
name = "backon"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Make retry like a built-in feature provided by Rust."
documentation = "https://docs.rs/backon"
edition = "2021"
license = "Apache-2.0"
name = "backon"
readme = "README.md"
repository = "https://github.com/Xuanwo/backon"
rust-version = "1.70"
version = "1.3.0"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "wasm32-unknown-unknown"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
optional = true
version = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.sqlx]
features = ["runtime-tokio", "sqlite"]
version = "0.8.0"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
features = ["time", "rt", "macros", "sync", "rt-multi-thread"]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
optional = true
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.tokio]
default-features = false
features = ["macros", "rt", "sync"]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"