1[package]
2name = "signal-hook"
3version = "0.3.9"
4authors = [
5    "Michal 'vorner' Vaner <vorner@vorner.cz>",
6    "Thomas Himmelstoss <thimm@posteo.de>",
7]
8description = "Unix signal handling"
9documentation = "https://docs.rs/signal-hook"
10repository = "https://github.com/vorner/signal-hook"
11readme = "README.md"
12keywords = ["signal", "unix", "daemon"]
13license = "Apache-2.0/MIT"
14edition = "2018"
15
16[badges]
17maintenance = { status = "actively-developed" }
18
19[features]
20channel = []
21default = ["channel", "iterator"]
22iterator = ["channel"]
23# TODO: Unify them on the next breaking release.
24extended-siginfo = ["channel", "iterator", "extended-siginfo-raw"]
25extended-siginfo-raw = ["cc"]
26
27[workspace]
28members = [
29    "./",
30    "signal-hook-registry",
31    "signal-hook-tokio",
32    "signal-hook-mio",
33    "signal-hook-async-std",
34]
35
36[dependencies]
37libc = "^0.2"
38signal-hook-registry = { version = "^1.4", path = "signal-hook-registry" }
39
40[dev-dependencies]
41serial_test = "^0.5"
42
43[package.metadata.docs.rs]
44all-features = true
45rustdoc-args = ["--cfg", "docsrs"]
46
47[build-dependencies]
48cc = { version = "^1", optional = true }
49