2017-10-03 10:03:14 -07:00
|
|
|
[package]
|
2019-04-05 20:08:43 -07:00
|
|
|
name = "tower-limit"
|
2019-04-26 21:31:25 -07:00
|
|
|
# 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.
|
2019-12-04 06:53:52 -08:00
|
|
|
version = "0.3.0"
|
2019-04-26 21:31:25 -07:00
|
|
|
authors = ["Tower Maintainers <team@tower-rs.com>"]
|
2019-04-09 10:59:30 -07:00
|
|
|
license = "MIT"
|
2019-04-26 22:31:07 -07:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/tower-rs/tower"
|
|
|
|
homepage = "https://github.com/tower-rs/tower"
|
2019-12-04 06:53:52 -08:00
|
|
|
documentation = "https://docs.rs/tower-limit/0.3.0"
|
2019-04-26 22:31:07 -07:00
|
|
|
description = """
|
|
|
|
Limit maximum request rate to a `Service`.
|
|
|
|
"""
|
|
|
|
categories = ["asynchronous", "network-programming"]
|
2019-04-08 20:11:09 -07:00
|
|
|
edition = "2018"
|
2017-10-03 10:03:14 -07:00
|
|
|
|
|
|
|
[dependencies]
|
2019-12-04 06:53:52 -08:00
|
|
|
futures-core = "0.3"
|
|
|
|
tower-service = { version = "0.3", path = "../tower-service" }
|
|
|
|
tower-layer = { version = "0.3", path = "../tower-layer" }
|
|
|
|
tokio-sync = "0.2.0-alpha.6"
|
|
|
|
tokio = { version = "0.2", features = ["time"] }
|
2019-09-30 11:58:27 -07:00
|
|
|
pin-project = "0.4"
|
2017-10-03 10:03:14 -07:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-12-04 06:53:52 -08:00
|
|
|
tower-test = { version = "0.3", path = "../tower-test" }
|
|
|
|
tokio-test = "0.2"
|
|
|
|
tokio = { version = "0.2", features = ["macros", "test-util"] }
|