# 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 = "elegant-departure" version = "0.3.1" authors = ["David Herberth "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Utility crate to simplify graceful shutdown" readme = "README.md" categories = ["asynchronous"] license = "MIT" repository = "https://github.com/Dav1dde/elegant-departure" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "elegant_departure" path = "src/lib.rs" [[example]] name = "async_std" path = "examples/async_std.rs" [[example]] name = "axum" path = "examples/axum.rs" required-features = ["tokio"] [[example]] name = "hyper" path = "examples/hyper.rs" required-features = ["tokio"] [[example]] name = "simple" path = "examples/simple.rs" [[example]] name = "smol" path = "examples/smol.rs" [[example]] name = "tokio" path = "examples/tokio.rs" required-features = ["tokio"] [[example]] name = "worker" path = "examples/worker.rs" required-features = ["tokio"] [dependencies.futures] version = "0.3" [dependencies.lazy_static] version = "1" [dependencies.pin-project-lite] version = "0.2" [dependencies.tokio] version = "1" features = ["signal"] optional = true [dependencies.tokio-util] version = ">= 0.6, < 0.8" [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-std] version = "1" features = ["attributes"] [dev-dependencies.axum] version = "0.7" [dev-dependencies.hyper] version = "0.14" features = [ "server", "tcp", "http1", ] [dev-dependencies.serial_test] version = "3" [dev-dependencies.smol] version = "1" [dev-dependencies.tokio] version = "1" features = ["full"]