Debian Codegraph @

debian/rust-vendor/signal-hook/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 name = "signal-hook"
15 version = "0.3.18"
16 authors = [
17 "Michal 'vorner' Vaner <[email protected]>",
18 "Thomas Himmelstoss <[email protected]>",
19 ]
20 build = "build.rs"
21 autolib = false
22 autobins = false
23 autoexamples = false
24 autotests = false
25 autobenches = false
26 description = "Unix signal handling"
27 documentation = "https://docs.rs/signal-hook"
28 readme = "README.md"
29 keywords = [
30 "signal",
31 "unix",
32 "daemon",
33 ]
34 license = "Apache-2.0/MIT"
35 repository = "https://github.com/vorner/signal-hook"
36
37 [package.metadata.docs.rs]
38 all-features = true
39 rustdoc-args = [
40 "--cfg",
41 "docsrs",
42 ]
43
44 [badges.maintenance]
45 status = "actively-developed"
46
47 [features]
48 channel = []
49 default = [
50 "channel",
51 "iterator",
52 ]
53 extended-siginfo = [
54 "channel",
55 "iterator",
56 "extended-siginfo-raw",
57 ]
58 extended-siginfo-raw = ["cc"]
59 iterator = ["channel"]
60
61 [lib]
62 name = "signal_hook"
63 path = "src/lib.rs"
64
65 [[example]]
66 name = "print"
67 path = "examples/print.rs"
68
69 [[test]]
70 name = "default"
71 path = "tests/default.rs"
72
73 [[test]]
74 name = "iterator"
75 path = "tests/iterator.rs"
76
77 [[test]]
78 name = "shutdown"
79 path = "tests/shutdown.rs"
80
81 [dependencies.libc]
82 version = "^0.2"
83
84 [dependencies.signal-hook-registry]
85 version = "^1.4"
86
87 [dev-dependencies.serial_test]
88 version = "^0.7"
89
90 [build-dependencies.cc]
91 version = "^1"
92 optional = true