Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "shared_child"
3 version = "1.1.1"
4 authors = ["jacko"]
5 license = "MIT"
6 repository = "https://github.com/oconnor663/shared_child.rs"
7 documentation = "https://docs.rs/shared_child"
8 readme = "README.md"
9 description = "a library for using child processes from multiple threads"
10 keywords = ["command", "process", "child", "subprocess"]
11 categories = ["os"]
12 rust-version = "1.74"
13 edition = "2021"
14
15 [target.'cfg(not(windows))'.dependencies]
16 libc = "0.2.42"
17 sigchld = { version = "0.2.3", optional = true }
18
19 [target.'cfg(windows)'.dependencies]
20 windows-sys = { version = "0.60.2", features = ["Win32_Foundation", "Win32_System_Threading"] }
21
22 [features]
23 # Unix doesn't support waiting on a child with a timeout, so we have to emulate
24 # that by handling the SIGCHLD signal.
25 timeout = ["dep:sigchld"]
26 default = ["timeout"]