blob: d04598fc4fb78d126958e0f9bfd6026faa681362 [file] [log] [blame] [edit]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.75.0"
name = "process-wrap"
version = "8.0.2"
authors = ["FĂ©lix Saparelli <[email protected]>"]
exclude = [
"/bin",
"/.github",
]
description = "Wrap a Command, to spawn processes in a group or session or job etc"
homepage = "https://github.com/watchexec/process-wrap"
documentation = "https://docs.rs/process-wrap"
readme = "README.md"
keywords = [
"command",
"process",
"group",
"session",
"pty",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/watchexec/process-wrap"
[package.metadata.docs.rs]
all-features = true
[dependencies.futures]
version = "0.3.30"
optional = true
[dependencies.indexmap]
version = "2.2.6"
[dependencies.tokio]
version = "1.37.0"
features = [
"io-util",
"macros",
"process",
"rt",
]
optional = true
[dependencies.tracing]
version = "0.1.40"
optional = true
[dev-dependencies.remoteprocess]
version = "0.4.13"
[dev-dependencies.tokio]
version = "1.37.0"
features = [
"io-util",
"macros",
"process",
"rt",
"rt-multi-thread",
"time",
]
[features]
creation-flags = [
"dep:windows",
"windows/Win32_System_Threading",
]
default = [
"creation-flags",
"job-object",
"kill-on-drop",
"process-group",
"process-session",
"tracing",
]
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"]
[target."cfg(unix)".dependencies.nix]
version = "0.28.0"
features = [
"fs",
"poll",
"signal",
]
optional = true
default-features = false
[target."cfg(windows)".dependencies.windows]
version = "0.56.0"
optional = true