# 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 = "signal-handler" version = "0.2.2" authors = ["vkill "] description = "Signal Handler" homepage = "https://github.com/bk-rs/signal-utils" documentation = "https://docs.rs/signal-handler" readme = "README.md" keywords = [] categories = [] license = "Apache-2.0 OR MIT" repository = "https://github.com/bk-rs/signal-utils" resolver = "1" [package.metadata.docs.rs] all-features = true [dependencies.channel-sender] version = "0.4" default-features = false [dependencies.signal-hook] version = "0.3" default-features = false [dependencies.tokio] version = "1" features = [ "rt", "sync", ] optional = true default-features = false [dev-dependencies.portpicker] version = "0.1" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "sync", "time", "net", "io-util", ] [features] default = ["impl_tokio"] impl_tokio = [ "tokio", "channel-sender/impl_tokio", ]