crates/heimdall-seccomp/Cargo.toml
[package]
name = "nordisk-heimdall-seccomp"
description = "Heimdall is a defensive sandbox: seccomp profile types per workload/arch/libc, a pure-Rust BPF builder, enforcing and audit modes, and the small USER_NOTIF API the broker and the probe build on."
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
rust-version.workspace = true
keywords = ["sandbox","seccomp","bpf","security","linux"]
categories = ["os::linux-apis"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "heimdall_seccomp"
path = "src/lib.rs"
[dependencies]
libc = "0.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
[dev-dependencies]
proptest = "1"
# Real filters in the kernel; the test binary is also the worker it filters,
# so libtest (and its threads) must not run in it. Skipped unless
# HEIMDALL_KERNEL_TESTS=1 (scripts/seccomp-tests.sh).
[[test]]
name = "kernel"
harness = false