crun-sys 0.1.1

Rust FFI bindings for libcrun (OCI container runtime, Linux only)
Documentation
[package]
name = "crun-sys"
version = "0.1.1"
edition = "2024"
license = "Apache-2.0"
description = "Rust FFI bindings for libcrun (OCI container runtime, Linux only)"
repository = "https://github.com/magikrun/magik"
keywords = ["crun", "container", "oci", "ffi", "bindings"]
categories = ["external-ffi-bindings", "os::unix-apis"]

[lib]
name = "crun_sys"
path = "src/lib.rs"

# libcrun is Linux-only (uses cgroups, namespaces, seccomp)
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"

[target.'cfg(target_os = "linux")'.build-dependencies]
bindgen = "0.72"
pkg-config = "0.3"

# Non-Linux: empty crate (stub)
[target.'cfg(not(target_os = "linux"))'.dependencies]