| 1 |
[package] |
| 2 |
name = "libseccomp" |
| 3 |
version = "0.4.0" |
| 4 |
authors = ["Manabu Sugimoto <[email protected]>"] |
| 5 |
license = "MIT OR Apache-2.0" |
| 6 |
description = "Rust Language Bindings for the libseccomp Library" |
| 7 |
repository = "https://github.com/libseccomp-rs/libseccomp-rs" |
| 8 |
keywords = ["bindings", "seccomp", "linux", "containers", "security"] |
| 9 |
categories = ["os", "api-bindings"] |
| 10 |
rust-version = "1.67" |
| 11 |
edition = "2021" |
| 12 |
readme = "../README.md" |
| 13 |
|
| 14 |
[dependencies] |
| 15 |
bitflags = "2.9.0" |
| 16 |
cfg-if = { version = "1.0.0", optional = true } |
| 17 |
libc = "0.2.108" |
| 18 |
libseccomp-sys = { version = "0.3.0", path = "../libseccomp-sys" } |
| 19 |
|
| 20 |
[build-dependencies] |
| 21 |
pkg-config = "0.3.19" |
| 22 |
|
| 23 |
[package.metadata.docs.rs] |
| 24 |
all-features = true |
| 25 |
rustc-args = ["--cfg", "docsrs"] |
| 26 |
|
| 27 |
[lints.rust] |
| 28 |
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(libseccomp_v2_6)"] } |
| 29 |
|
| 30 |
[features] |
| 31 |
const-syscall = ["cfg-if"] |