[package]
edition = "2024"
rust-version = "1.88"
name = "cant-launch"
version = "0.0.21"
authors = ["Arie Radle"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sandbox setup (Landlock, seccomp) and exec for Cantainer capsules."
homepage = "https://github.com/cantainer/cantainer"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/cantainer/cantainer"
[lib]
name = "cant_launch"
path = "src/lib.rs"
[dependencies.cant-manifest]
version = "=0.0.21"
[dependencies.cant-policy]
version = "=0.0.21"
[dependencies.thiserror]
version = "2.0.21"
[dev-dependencies.tempfile]
version = "3.27.0"
[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4.7"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.191"
[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1.1.6"
features = [
"std",
"fs",
"net",
"process",
"thread",
"mount",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.5.0"
[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]