# 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 = "termination_signal" version = "0.1.3" authors = ["MoghTech"] description = "sync and async termination signal listeners" license = "MIT" repository = "https://github.com/mbecker20/termination_signal" [dependencies.anyhow] version = "1.0" [dependencies.futures] version = "0.3" optional = true [dependencies.signal-hook] version = "0.3" [dependencies.signal-hook-tokio] version = "0.3" features = ["futures-v0_3"] optional = true [dependencies.tokio] version = "1.28" features = ["full"] optional = true [features] default = [ "sync", "tokio", ] sync = [] tokio = [ "dep:tokio", "dep:signal-hook-tokio", "dep:futures", ]