tower-acc 0.1.1

Adaptive concurrency control for Tower services
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 = "tower-acc"
version = "0.1.1"
authors = ["Adrien Guillo <adrien.guillo@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Adaptive concurrency control for Tower services"
documentation = "https://docs.rs/tower-acc"
readme = "README.md"
keywords = [
    "tower",
    "concurrency",
    "rate-limit",
    "adaptive",
    "vegas",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/guilload/tower-acc"

[features]
default = ["layer"]
layer = ["tower-layer"]

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

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

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

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

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

[dependencies.tokio]
version = "1.50.0"
features = ["sync"]

[dependencies.tokio-util]
version = "0.7"

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

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

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.http]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"

[dev-dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server-auto",
    "service",
]

[dev-dependencies.tokio]
version = "1.50.0"
features = ["full"]

[dev-dependencies.tower]
version = "0.5"
features = [
    "buffer",
    "load-shed",
]