# 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" rust-version = "1.75.0" name = "tokio-graceful" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "util for graceful shutdown of tokio applications" homepage = "https://github.com/plabayo/tokio-graceful" readme = "README.md" keywords = [ "io", "async", "non-blocking", "futures", ] categories = [ "asynchronous", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/plabayo/tokio-graceful" [lib] name = "tokio_graceful" path = "src/lib.rs" [[example]] name = "hyper" path = "examples/hyper.rs" [[example]] name = "hyper_panic" path = "examples/hyper_panic.rs" [[example]] name = "hyper_with_overwrite_fn" path = "examples/hyper_with_overwrite_fn.rs" [[example]] name = "hyper_with_shutdown_delay" path = "examples/hyper_with_shutdown_delay.rs" [[example]] name = "tokio_tcp" path = "examples/tokio_tcp.rs" [[example]] name = "tokio_tcp_with_overwrite_fn" path = "examples/tokio_tcp_with_overwrite_fn.rs" [[example]] name = "waitgroup" path = "examples/waitgroup.rs" [dependencies.pin-project-lite] version = "0.2" [dependencies.slab] version = "0.4" [dependencies.tokio] version = "1" features = [ "rt", "signal", "sync", "macros", "time", ] [dependencies.tracing] version = "0.1" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1" features = [ "net", "rt-multi-thread", "io-util", "test-util", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [target."cfg(loom)".dependencies.loom] version = "0.7" features = [ "futures", "checkpoint", ] [target."cfg(not(loom))".dev-dependencies.bytes] version = "1" [target."cfg(not(loom))".dev-dependencies.http-body-util] version = "0.1" [target."cfg(not(loom))".dev-dependencies.hyper] version = "1.0.1" features = [ "server", "http1", "http2", ] [target."cfg(not(loom))".dev-dependencies.hyper-util] version = "0.1.1" features = [ "server", "server-auto", "http1", "http2", "tokio", ] [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(loom)"]