# 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 = "2018" rust-version = "1.63" name = "leaky-bucket" version = "1.1.2" authors = ["John-John Tedro "] description = "A token-based rate limiter based on the leaky bucket algorithm." homepage = "https://github.com/udoprog/leaky-bucket" documentation = "https://docs.rs/leaky-bucket" readme = "README.md" keywords = [ "async", "futures", "ratelimit", "throttle", "tokenbucket", ] categories = [ "algorithms", "concurrency", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/udoprog/leaky-bucket" [dependencies.parking_lot] version = "0.12.1" [dependencies.pin-project-lite] version = "0.2.14" [dependencies.tokio] version = "1.28.1" features = ["time"] [dependencies.tracing] version = "0.1.37" features = ["attributes"] optional = true default-features = false [dev-dependencies.anyhow] version = "1.0.71" [dev-dependencies.futures] version = "0.3.28" [dev-dependencies.pin-project] version = "1.0.12" [dev-dependencies.tokio] version = "1.28.1" features = [ "macros", "rt-multi-thread", "rt", "time", "test-util", ] [features] default = [] tracing = ["dep:tracing"]