1 | [package] |
2 | name = "async-signal" |
3 | version = "0.2.5" |
4 | edition = "2018" |
5 | authors = ["John Nunley <dev@notgull.net>" ] |
6 | rust-version = "1.63" |
7 | description = "Async signal handling" |
8 | license = "Apache-2.0 OR MIT" |
9 | repository = "https://github.com/smol-rs/async-signal" |
10 | keywords = ["async" , "signal" , "signal-hook" , "signal-hook-registry" ] |
11 | categories = ["asynchronous" , "concurrency" , "os" , "signal-handling" ] |
12 | exclude = ["/.*" ] |
13 | |
14 | [dependencies] |
15 | cfg-if = "1.0.0" |
16 | futures-core = "0.3.26" |
17 | |
18 | [target.'cfg(unix)'.dependencies] |
19 | async-io = "2.0.0" |
20 | futures-io = "0.3.26" |
21 | rustix = { version = "0.38.15" , default-features = false, features = ["process" , "std" ] } |
22 | signal-hook-registry = "1.4.0" |
23 | |
24 | [target.'cfg(windows)'.dependencies] |
25 | async-lock = "2.7.0" |
26 | atomic-waker = "1.1.1" |
27 | slab = "0.4.8" |
28 | |
29 | [target.'cfg(windows)'.dependencies.windows-sys] |
30 | version = "0.48" |
31 | default-features = false |
32 | features = [ |
33 | "Win32_Foundation" , |
34 | "Win32_System_Console" , |
35 | ] |
36 | |
37 | [dev-dependencies] |
38 | async-io = "2.0.0" |
39 | fastrand = "2.0.1" |
40 | futures-lite = "1.12.0" |
41 | signal-hook = "0.3.14" |
42 | |
43 | [target.'cfg(unix)'.dev-dependencies] |
44 | libc = "0.2.139" |
45 | |