# 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"
name = "signal-hook"
version = "0.3.16"
authors = [
    "Michal 'vorner' Vaner <vorner@vorner.cz>",
    "Thomas Himmelstoss <thimm@posteo.de>",
]
description = "Unix signal handling"
documentation = "https://docs.rs/signal-hook"
readme = "README.md"
keywords = [
    "signal",
    "unix",
    "daemon",
]
license = "Apache-2.0/MIT"
repository = "https://github.com/vorner/signal-hook"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.libc]
version = "^0.2"

[dependencies.signal-hook-registry]
version = "^1.4"

[dev-dependencies.serial_test]
version = "^0.7"

[build-dependencies.cc]
version = "^1"
optional = true

[features]
channel = []
default = [
    "channel",
    "iterator",
]
extended-siginfo = [
    "channel",
    "iterator",
    "extended-siginfo-raw",
]
extended-siginfo-raw = ["cc"]
iterator = ["channel"]

[badges.maintenance]
status = "actively-developed"
