execution-policy 0.0.3

Closure-first, runtime-light reliability policies (retry, timeout, circuit breaking, bounded concurrency, retry budgets) for any async Rust operation.
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 = "2024"
rust-version = "1.85"
name = "execution-policy"
version = "0.0.3"
build = false
exclude = [
    "/.github",
    "/docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Closure-first, runtime-light reliability policies (retry, timeout, circuit breaking, bounded concurrency, retry budgets) for any async Rust operation."
documentation = "https://docs.rs/execution-policy"
readme = "README.md"
keywords = [
    "resilience",
    "retry",
    "circuit-breaker",
    "timeout",
    "reliability",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "BSD-3-Clause"
repository = "https://github.com/matt-cochran/execution-policy"

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

[features]
default = [
    "tokio",
    "test-util",
]
test-util = []
tokio = ["dep:tokio"]
tracing = ["dep:tracing"]

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

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

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

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

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

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

[[bench]]
name = "overhead"
path = "benches/overhead.rs"
harness = false
required-features = ["test-util"]

[dependencies.tokio]
version = "1"
features = [
    "time",
    "sync",
]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]

[lints.rust]
missing_debug_implementations = "warn"