[package]
edition = "2024"
rust-version = "1.95"
name = "workpen"
version = "0.11.0"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Workpen dest-deny and a per-child process jail (Landlock, Seatbelt, Windows)."
readme = "README.md"
keywords = [
"sandbox",
"landlock",
"seatbelt",
"security",
"process",
]
categories = [
"os",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/workpen/workpen"
resolver = "2"
[package.metadata.docs.rs]
features = [
"gc",
"nono",
]
[features]
default = []
gc = []
nono = ["dep:nono"]
[lib]
name = "workpen"
path = "src/lib.rs"
[[test]]
name = "dest_deny_corpus"
path = "tests/dest_deny_corpus.rs"
[[test]]
name = "gc_corpus"
path = "tests/gc_corpus.rs"
required-features = ["gc"]
[[test]]
name = "nono_corpus"
path = "tests/nono_corpus.rs"
required-features = ["nono"]
[[test]]
name = "path_guard_corpus"
path = "tests/path_guard_corpus.rs"
[[test]]
name = "publish_pins"
path = "tests/publish_pins.rs"
[[test]]
name = "reexec_jail"
path = "tests/reexec_jail.rs"
required-features = ["nono"]
[[test]]
name = "windows_jail"
path = "tests/windows_jail.rs"
[[test]]
name = "windows_jail_quiet"
path = "tests/windows_jail_quiet.rs"
[dependencies.dunce]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "=0.4.7"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.nono]
version = "0.81"
optional = true
default-features = false
[target."cfg(unix)".dev-dependencies.libc]
version = "0.2"