tower/tower-load-shed/Cargo.toml

35 lines
1.1 KiB
TOML

[package]
name = "tower-load-shed"
# When releasing to crates.io:
# - Remove path dependencies
# - Update html_root_url.
# - Update doc url
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.3.0-alpha.1"
authors = ["Tower Maintainers <team@tower-rs.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tower-rs/tower"
homepage = "https://github.com/tower-rs/tower"
documentation = "https://docs.rs/tower-load-shed/0.3.0-alpha.1"
description = """
Immediately reject requests if the inner service is not ready. This is also
known as load-shedding.
"""
categories = ["asynchronous", "network-programming"]
edition = "2018"
[dependencies]
tower-service = "=0.3.0-alpha.1"
tower-layer = { version = "=0.3.0-alpha.1", path = "../tower-layer" }
pin-project = { version = "=0.4.0-alpha.11", features = ["project_attr"] }
futures-core-preview = "=0.3.0-alpha.18"
[dev-dependencies]
tokio-test = "=0.2.0-alpha.4"
tower-test = { version = "=0.3.0-alpha.1", path = "../tower-test" }
futures-util-preview = "=0.3.0-alpha.18"