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