[package]
name = "leaky-bucket"
version = "0.6.0"
authors = ["John-John Tedro <udoprog@tedro.se>"]
edition = "2018"
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/udoprog/leaky-bucket"
homepage = "https://github.com/udoprog/leaky-bucket"
documentation = "https://docs.rs/leaky-bucket"
description = """
Futures-aware rate limiter implementation.
"""
categories = ["algorithms", "network-programming", "concurrency"]
[dependencies]
futures-channel = "0.3.1"
futures-util = "0.3.1"
tokio = { version = "0.2.4", features = ["time", "stream"] }
log = "0.4.7"
lazy_static = { version = "1.4.0", optional = true }
[features]
default = ["static"]
static = ["lazy_static"]
[dev-dependencies]
futures = "0.3.1"
tokio = { version = "0.2.4", features = ["macros", "rt-core"] }