# 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 = "2021" name = "stream_throttle" version = "0.5.1" authors = ["Mike Caines"] description = "Provides a Stream combinator, to limit the rate at which items are produced." documentation = "https://docs.rs/stream_throttle/" readme = "README.md" keywords = [ "async", "futures", "stream", "throttle", ] categories = ["asynchronous"] license = "MIT" repository = "https://github.com/mikecaines/stream-throttle" [[example]] name = "multi_stream_tokio" required-features = ["timer-tokio"] [[example]] name = "multi_stream_async_std" required-features = ["timer-futures-timer"] [dependencies.futures] version = "0.3.1" [dependencies.futures-timer] version = "3.0.1" optional = true [dependencies.log] version = "0.4.8" [dependencies.pin-utils] version = "0.1.0" [dependencies.tokio] version = "1.32.0" features = ["time"] optional = true [dev-dependencies.async-std] version = "1" features = ["attributes"] [dev-dependencies.tokio] version = "1.32.0" features = ["full"] [features] default = ["timer-tokio"] timer-futures-timer = ["futures-timer"] timer-tokio = ["tokio"]