[package]
edition = "2024"
rust-version = "1.88"
name = "processkit"
version = "0.5.0"
build = false
exclude = [
".claude/",
".github/",
".editorconfig",
".gitattributes",
"AGENTS.md",
"CLAUDE.md",
"cliff.toml",
"deny.toml",
"rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Child-process management: kill-on-drop process trees and async run-and-capture"
readme = "README.md"
keywords = [
"process",
"subprocess",
"job-object",
"cgroup",
"tokio",
]
categories = [
"os",
"asynchronous",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/ZelAnton/ProcessKit-rs"
[package.metadata.docs.rs]
all-features = true
[features]
mock = ["dep:mockall"]
tracing = ["dep:tracing"]
[lib]
name = "processkit"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.mockall]
version = "0.13"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"process",
"time",
"io-util",
"rt",
"macros",
"sync",
"fs",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["io-util"]
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"io-util",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_System_JobObjects",
"Win32_System_Threading",
"Win32_Security",
"Win32_System_ProcessStatus",
"Win32_System_Diagnostics_ToolHelp",
]
[target."cfg(windows)".dev-dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_System_Threading",
]