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
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.88"
name = "reliability-toolkit"
version = "0.1.1"
authors = ["Miz Causevic <miz@kineticgain.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async reliability primitives for Rust: rate limiter, circuit breaker, retry with jitter, bulkhead. Optional audit-stream-py integration via the `audit-stream` feature."
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",
]
license = "MIT"
repository = "https://github.com/mizcausevic-dev/reliability-toolkit-rs"

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

[features]
audit-stream = [
    "dep:reqwest",
    "dep:serde",
    "dep:serde_json",
]
default = []

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

[[example]]
name = "compose"
path = "examples/compose.rs"

[[test]]
name = "audit_stream"
path = "tests/audit_stream.rs"

[[test]]
name = "bulkhead"
path = "tests/bulkhead.rs"

[[test]]
name = "circuit_breaker"
path = "tests/circuit_breaker.rs"

[[test]]
name = "composition"
path = "tests/composition.rs"

[[test]]
name = "rate_limiter"
path = "tests/rate_limiter.rs"

[[test]]
name = "retry"
path = "tests/retry.rs"

[[bench]]
name = "rate_limiter"
path = "benches/rate_limiter.rs"
harness = false

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.38"
features = [
    "sync",
    "time",
    "macros",
    "rt",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.tokio]
version = "1.38"
features = [
    "full",
    "test-util",
]

[dev-dependencies.wiremock]
version = "0.6"