# 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.51" name = "graceful-shutdown" version = "0.3.0" authors = ["Thayne McCombs "] description = "Graceful Shutdown for async code" keywords = [ "async", "graceful", "shutdown", ] categories = ["asynchronous"] license = "Apache-2.0" repository = "https://github.com/tmccombs/graceful-shutdown" [[example]] name = "echo1" [[example]] name = "echo_stream" required-features = [ "stream", "tokio-timeout", ] [[example]] name = "smol_echo" required-features = [ "async-io-timeout", "stream", ] [dependencies.async-io] version = "2.3" optional = true [dependencies.futures-core] version = "0.3.12" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.tokio] version = "1.2" features = ["time"] optional = true [dev-dependencies.futures-task] version = "0.3" [dev-dependencies.smol] version = "2.0" [dev-dependencies.tokio] version = "1.2" features = [ "rt", "macros", "time", "rt-multi-thread", "signal", "net", "io-util", ] [dev-dependencies.tokio-stream] version = "0.1" features = ["net"] [features] async-io-timeout = ["async-io"] stream = ["futures-core"] tokio-timeout = ["tokio"]