1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
[package]
name = "command-group"
version = "2.1.0"
authors = ["Félix Saparelli <felix@passcod.name>"]
license = "Apache-2.0 OR MIT"
description = "Extension to Command to spawn in a process group"
keywords = ["command", "extension", "process", "group"]
documentation = "https://docs.rs/command-group"
homepage = "https://github.com/watchexec/command-group"
repository = "https://github.com/watchexec/command-group"
readme = "README.md"
edition = "2021"
exclude = ["/bin", "/.github"]
rust-version = "1.60.0"
# there are a few windows-specific ones
autoexamples = false
[dependencies]
async-trait = { version = "0.1.50", optional = true }
[dependencies.tokio]
version = "1.10.0"
features = ["io-util", "macros", "process", "rt"]
optional = true
[target.'cfg(unix)'.dependencies.nix]
version = "0.26.1"
default-features = false
features = ["fs", "poll", "signal"]
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.9"
features = [
"impl-default",
"handleapi",
"ioapiset",
"jobapi2",
"processthreadsapi",
"tlhelp32",
"winbase",
]
[features]
default = []
with-tokio = ["async-trait", "tokio"]
[dev-dependencies]
tokio = { version = "1.10.0", features = ["io-util", "macros", "process", "rt", "rt-multi-thread", "time"] }
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "basic"
[[example]]
name = "builder"
[[example]]
name = "async"
required-features = ["with-tokio"]
[[example]]
name = "kill_on_drop"
required-features = ["with-tokio"]
[[example]]
name = "daemon"
required-features = ["with-tokio"]
[[target.'cfg(windows)'.example]]
name = "with_flags"
required-features = ["with-tokio"]
|