-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
31 lines (28 loc) · 1.02 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "leaky-bucket"
version = "1.1.2"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.70"
description = "A token-based rate limiter based on the leaky bucket algorithm."
documentation = "https://docs.rs/leaky-bucket"
readme = "README.md"
homepage = "https://github.com/udoprog/leaky-bucket"
repository = "https://github.com/udoprog/leaky-bucket"
license = "MIT OR Apache-2.0"
keywords = ["async", "futures", "ratelimit", "throttle", "tokenbucket"]
categories = ["algorithms", "concurrency", "network-programming"]
[features]
default = []
tracing = ["dep:tracing"]
[dependencies]
parking_lot = "0.12.1"
pin-project-lite = "0.2.14"
tokio = { version = "1.28.1", features = ["time"] }
tracing = { version = "0.1.37", default-features = false, features = ["attributes"], optional = true }
[dev-dependencies]
anyhow = "1.0.71"
futures = "0.3.28"
helpers = { path = "helpers" }
pin-project = "1.0.12"
tokio = { version = "1.28.1", features = ["macros", "rt-multi-thread", "rt", "time", "test-util"] }