# 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.66" name = "signal-hook" version = "0.4.1" authors = [ "Michal 'vorner' Vaner ", "Thomas Himmelstoss ", ] build = "build.rs" autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Unix signal handling" documentation = "https://docs.rs/signal-hook" readme = "README.md" keywords = [ "signal", "unix", "daemon", ] license = "MIT OR Apache-2.0" repository = "https://github.com/vorner/signal-hook" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [badges.maintenance] status = "actively-developed" [features] channel = [] default = [ "channel", "iterator", ] extended-siginfo = [ "channel", "iterator", "extended-siginfo-raw", ] extended-siginfo-raw = ["cc"] iterator = ["channel"] [lib] name = "signal_hook" path = "src/lib.rs" [[example]] name = "print" path = "examples/print.rs" [[test]] name = "default" path = "tests/default.rs" [[test]] name = "iterator" path = "tests/iterator.rs" [[test]] name = "shutdown" path = "tests/shutdown.rs" [dependencies.libc] version = "^0.2" [dependencies.signal-hook-registry] version = "^1.4" [dev-dependencies] [build-dependencies.cc] version = "^1" optional = true