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