[package]
edition = "2024"
rust-version = "1.97"
name = "prick-exec"
version = "2026.819.2"
authors = ["yashau"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Child process launch, signal handling and environment guards for `prk run`."
homepage = "https://github.com/yashau/prick"
readme = false
license = "MIT"
repository = "https://github.com/yashau/prick"
[lib]
name = "prick_exec"
path = "src/lib.rs"
[[bin]]
name = "prick-exec-child"
path = "src/bin/child.rs"
[[test]]
name = "launch"
path = "tests/launch.rs"
[[test]]
name = "unix_exec"
path = "tests/unix_exec.rs"
[[test]]
name = "windows_batch"
path = "tests/windows_batch.rs"
[dependencies.prick-core]
version = "2026.819.2"
[dependencies.secrecy]
version = "0.10"
features = ["serde"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.which]
version = "8"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Security_Authorization",
"Win32_System_Console",
"Win32_System_JobObjects",
"Win32_System_Memory",
"Win32_System_Threading",
]
[lints.clippy]
dbg_macro = "deny"
exit = "deny"
mem_forget = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1