# 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" name = "leaky-bucket-lite" version = "0.5.2" authors = ["Jens Reidel "] description = """ Slimmed down, lazy futures-aware rate limiter implementation. """ homepage = "https://github.com/Gelbpunkt/leaky-bucket-lite" documentation = "https://docs.rs/leaky-bucket-lite" readme = "README.md" categories = [ "algorithms", "network-programming", "concurrency", ] license = "MIT/Apache-2.0" repository = "https://github.com/Gelbpunkt/leaky-bucket-lite" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.parking_lot] version = "0.12" optional = true default-features = false [dependencies.tokio] version = "1" features = [ "time", "sync", ] optional = true default-features = false [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", ] default-features = false [features] default = ["tokio"] sync = [] sync-threadsafe = []