[package]
edition = "2024"
rust-version = "1.91"
name = "procpilot"
version = "0.5.0"
build = false
exclude = [
"scripts/",
".github/",
"CLAUDE.md",
"cliff.toml",
"clippy.toml",
"deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade subprocess runner with typed errors, retry, and timeout"
homepage = "https://github.com/michaeldhopkins/procpilot"
readme = "README.md"
keywords = [
"subprocess",
"process",
"command",
"retry",
"timeout",
]
categories = [
"os",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/michaeldhopkins/procpilot"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
test-helpers = []
[lib]
name = "procpilot"
path = "src/lib.rs"
[[bin]]
name = "pp_cat"
path = "src/bin/pp_cat.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_child_grandchild"
path = "src/bin/pp_child_grandchild.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_echo"
path = "src/bin/pp_echo.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_print_env"
path = "src/bin/pp_print_env.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_print_env_multi"
path = "src/bin/pp_print_env_multi.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_pwd"
path = "src/bin/pp_pwd.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_sleep"
path = "src/bin/pp_sleep.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_spam"
path = "src/bin/pp_spam.rs"
required-features = ["test-helpers"]
[[bin]]
name = "pp_status"
path = "src/bin/pp_status.rs"
required-features = ["test-helpers"]
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "non_exhaustive"
path = "tests/non_exhaustive.rs"
[[test]]
name = "pipeline"
path = "tests/pipeline.rs"
required-features = ["test-helpers"]
[[test]]
name = "runner"
path = "tests/runner.rs"
required-features = ["test-helpers"]
[[test]]
name = "spawned"
path = "tests/spawned.rs"
required-features = ["test-helpers"]
[dependencies.backon]
version = "1"
features = [
"std",
"std-blocking-sleep",
]
default-features = false
[dependencies.os_pipe]
version = "1.2.3"
[dependencies.shared_child]
version = "1.1.1"
[dependencies.wait-timeout]
version = "0.2"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
bool_to_int_with_if = "warn"
cognitive-complexity = "warn"
collapsible-if = "deny"
extend_with_drain = "deny"
fn-params-excessive-bools = "deny"
match_bool = "warn"
needless-range-loop = "deny"
struct-excessive-bools = "deny"
too-many-arguments = "deny"
too-many-lines = "warn"
unwrap_used = "deny"