procpilot 0.2.0

Production-grade subprocess runner with typed errors, retry, and timeout
Documentation
# 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 = "2024"
rust-version = "1.91"
name = "procpilot"
version = "0.2.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 = "runner"
path = "tests/runner.rs"
required-features = ["test-helpers"]

[dependencies.backon]
version = "1"
features = [
    "std",
    "std-blocking-sleep",
]
default-features = false

[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"