reliability-toolkit 0.1.1

Async reliability primitives for Rust: rate limiter, circuit breaker, retry with jitter, bulkhead. Optional audit-stream-py integration via the `audit-stream` feature.
Documentation
[package]
name        = "reliability-toolkit"
version     = "0.1.1"
edition     = "2021"
rust-version = "1.88"
description = "Async reliability primitives for Rust: rate limiter, circuit breaker, retry with jitter, bulkhead. Optional audit-stream-py integration via the `audit-stream` feature."
license     = "MIT"
repository  = "https://github.com/mizcausevic-dev/reliability-toolkit-rs"
homepage    = "https://kineticgain.com/"
documentation = "https://docs.rs/reliability-toolkit"
readme      = "README.md"
keywords    = ["reliability", "rate-limit", "circuit-breaker", "retry", "tokio"]
categories  = ["asynchronous", "network-programming", "concurrency"]
authors     = ["Miz Causevic <miz@kineticgain.com>"]

[features]
default      = []
# Opt-in HTTP emitter that POSTs breaker_opened / breaker_recovered events
# to audit-stream-py. Off by default so the reliability crate stays
# HTTP-free.
audit-stream = ["dep:reqwest", "dep:serde", "dep:serde_json"]

[dependencies]
tokio = { version = "1.38", features = ["sync", "time", "macros", "rt"] }
thiserror = "1.0"
# Optional, only pulled in when the `audit-stream` feature is enabled.
reqwest    = { version = "0.12", default-features = false, features = ["json", "rustls-tls"], optional = true }
serde      = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }

[dev-dependencies]
tokio = { version = "1.38", features = ["full", "test-util"] }
criterion = { version = "0.5", features = ["async_tokio"] }
wiremock = "0.6"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[bench]]
name = "rate_limiter"
harness = false

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