[package]
edition = "2024"
rust-version = "1.89"
name = "crumbkit-process"
version = "0.6.1"
build = false
include = [
"src/**/*.rs",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runs a child program in a process group of its own and reads its output within byte limits and a deadline"
readme = "README.md"
keywords = [
"process",
"child",
"subprocess",
"timeout",
"signal",
]
categories = [
"os::unix-apis",
"os::windows-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crumbkit/crumbkit"
[package.metadata.docs.rs]
all-features = true
[features]
forward = ["dep:signal-hook"]
[lib]
name = "crumbkit_process"
path = "src/lib.rs"
[dependencies.zeroize]
version = "1.9.1"
features = ["alloc"]
default-features = false
[target."cfg(unix)".dependencies.rustix]
version = "1.1.5"
features = [
"std",
"process",
"event",
]
default-features = false
[target."cfg(unix)".dependencies.signal-hook]
version = "0.4.5"
features = ["iterator"]
optional = true
default-features = false
[target."cfg(windows)".dependencies.process-wrap]
version = "10.0.1"
features = [
"std",
"job-object",
]
default-features = false
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
dbg_macro = "warn"
expect_used = "warn"
mod_module_files = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1