# 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 = "async-shared-timeout" version = "0.2.2" authors = ["chayleaf "] description = "Async timeout that can be reset and shared" readme = "README.md" keywords = [ "tokio", "sleep", ] categories = [ "asynchronous", "no-std", ] license = "0BSD OR MIT OR Apache-2.0" repository = "https://github.com/chayleaf/async-shared-timeout/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-io] version = "1" optional = true [dependencies.futures-core] version = "0.3" optional = true [dependencies.futures-io] version = "0.3" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.portable-atomic] version = "1" [dependencies.tokio] version = "1" features = ["time"] optional = true [dev-dependencies.tokio] version = "1" features = [ "time", "macros", "io-util", ] [dev-dependencies.tokio-test] version = "0.4" [features] async-std = [ "async-io", "futures-io", ] default = [ "tokio", "std", ] read-write = ["wrapper"] std = [] stream = [ "wrapper", "futures-core", ] wrapper = []