[package]
edition = "2024"
name = "mailrs-backoff"
version = "1.0.1"
authors = ["GOLIA K.K."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exponential backoff with optional jitter (AWS-style taxonomy: None / Equal / Full). Pure delay math — no I/O, no async, no allocation. Useful for any retry loop: SMTP outbound, webhook delivery, auth-lockout, HTTP client retries."
homepage = "https://github.com/goliajp/mailrs"
documentation = "https://docs.rs/mailrs-backoff"
readme = "README.md"
keywords = [
"backoff",
"retry",
"jitter",
"exponential",
"thundering-herd",
]
categories = [
"algorithms",
"network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/mailrs"
resolver = "2"
[lib]
name = "mailrs_backoff"
path = "src/lib.rs"
[[test]]
name = "perf_gate"
path = "tests/perf_gate.rs"
[[bench]]
name = "backoff"
path = "benches/backoff.rs"
harness = false
[[bench]]
name = "compare_exponential_backoff"
path = "benches/compare_exponential_backoff.rs"
harness = false
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.exponential-backoff]
version = "2"
[lints.clippy.all]
level = "deny"
priority = 0
[lints.rust]
warnings = "deny"