# 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.85.0"
name = "tower-resilience-executor"
version = "0.10.0"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Executor delegation layer for Tower services - parallel request processing"
readme = "README.md"
keywords = [
    "tower",
    "executor",
    "resilience",
    "middleware",
    "parallel",
]
categories = [
    "asynchronous",
    "concurrency",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/tower-resilience"

[features]
default = []
metrics = ["dep:metrics"]
tracing = ["dep:tracing"]

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

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

[dependencies.metrics]
version = "0.24"
optional = true

[dependencies.pin-project-lite]
version = "0.2"

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

[dependencies.tower]
version = "0.5"
features = [
    "util",
    "limit",
]

[dependencies.tower-layer]
version = "0.3"

[dependencies.tower-service]
version = "0.3"

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

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

[dev-dependencies.tower-resilience-core]
version = "0.10.0"
features = ["testing"]
