do-over 0.1.0

Async resilience policies for Rust inspired by Polly
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.70"
name = "do-over"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async resilience policies for Rust inspired by Polly"
homepage = "https://github.com/nwpz/do-over"
documentation = "https://docs.rs/do-over"
readme = "README.md"
keywords = [
    "resilience",
    "retry",
    "circuit-breaker",
    "async",
    "fault-tolerance",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nwpz/do-over"

[features]
http = ["reqwest"]
metrics-otel = ["opentelemetry"]
metrics-prometheus = ["prometheus"]

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "overhead"
path = "benches/overhead.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8.8"

[dependencies.futures]
version = "0.3"

[dependencies.opentelemetry]
version = "0.22"
optional = true

[dependencies.prometheus]
version = "0.13"
optional = true

[dependencies.reqwest]
version = "0.12"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "sync",
    "macros",
    "rt-multi-thread",
]

[dependencies.tower]
version = "0.4"