# 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 = "async-speed-limit" version = "0.4.1" authors = ["The TiKV Project Developers"] description = "Asynchronously speed-limiting multiple byte streams" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/tikv/async-speed-limit" [package.metadata.docs.rs] all-features = true [[bench]] name = "standard_clock" harness = false [dependencies.futures-core] version = "0.3.1" optional = true [dependencies.futures-io] version = "0.3.19" optional = true [dependencies.futures-timer] version = "3.0.2" optional = true [dependencies.pin-project-lite] version = "0.2.0" [dependencies.tokio] version = "1" optional = true [dev-dependencies.criterion] version = "0.3" [dev-dependencies.futures-executor] version = "0.3.1" [dev-dependencies.futures-util] version = "0.3.1" features = [ "std", "channel", "io", "io-compat", ] default-features = false [dev-dependencies.rand] version = "0.8.0" [dev-dependencies.tokio] version = "1" features = [ "io-util", "rt", "macros", ] [dev-dependencies.tokio-util] version = "0.6.9" features = ["codec"] [features] default = [ "futures-io", "fused-future", "standard-clock", ] fused-future = ["futures-core"] read-initializer = [] standard-clock = ["futures-timer"]