[dependencies.futures]
optional = true
version = "0.3.30"
[dependencies.indexmap]
version = "2.2.6"
[dependencies.tokio]
features = ["io-util", "macros", "process", "rt"]
optional = true
version = "1.38.0"
[dependencies.tracing]
optional = true
version = "0.1.40"
[dev-dependencies.remoteprocess]
version = "0.5.0"
[dev-dependencies.tokio]
features = ["io-util", "macros", "process", "rt", "rt-multi-thread", "time"]
version = "1.38.0"
[features]
creation-flags = ["dep:windows", "windows/Win32_System_Threading"]
default = ["creation-flags", "job-object", "kill-on-drop", "process-group", "process-session", "tracing"]
downcasting = []
job-object = ["dep:windows", "windows/Win32_Security", "windows/Win32_System_Diagnostics_ToolHelp", "windows/Win32_System_IO", "windows/Win32_System_JobObjects", "windows/Win32_System_Threading"]
kill-on-drop = []
process-group = []
process-session = ["process-group"]
reset-sigmask = []
std = ["dep:nix"]
tokio1 = ["dep:nix", "dep:futures", "dep:tokio"]
tracing = ["dep:tracing"]
[lib]
name = "process_wrap"
path = "src/lib.rs"
[package]
authors = ["Félix Saparelli <felix@passcod.name>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Wrap a Command, to spawn processes in a group or session or job etc"
documentation = "https://docs.rs/process-wrap"
edition = "2021"
exclude = ["/bin", "/.github"]
homepage = "https://github.com/watchexec/process-wrap"
keywords = ["command", "process", "group", "session", "pty"]
license = "Apache-2.0 OR MIT"
name = "process-wrap"
readme = "README.md"
repository = "https://github.com/watchexec/process-wrap"
rust-version = "1.77.0"
version = "8.2.0"
[package.metadata.docs.rs]
all-features = true
[target."cfg(unix)".dependencies.nix]
default-features = false
features = ["fs", "poll", "signal"]
optional = true
version = "0.29.0"
[target."cfg(windows)".dependencies.windows]
optional = true
version = "0.59.0"
[[test]]
name = "multiproc_helper"
path = "tests/multiproc_helper.rs"
[[test]]
name = "std_unix"
path = "tests/std_unix.rs"
[[test]]
name = "std_windows"
path = "tests/std_windows.rs"
[[test]]
name = "tokio_unix"
path = "tests/tokio_unix.rs"
[[test]]
name = "tokio_windows"
path = "tests/tokio_windows.rs"