[package]
edition = "2021"
rust-version = "1.70"
name = "agentcell"
version = "0.2.5"
authors = ["lipi <lipicoder@qq.com>"]
build = "build.rs"
links = "agentcell"
include = [
"Cargo.toml",
"build.rs",
"LICENSE",
"CHANGELOG.md",
"rust/**",
"src/agentcell.h",
"src/libagentcell.c",
"src/sand.c",
"src/arch/*.h",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unprivileged Linux sandbox for AI agents — namespaces, Landlock, seccomp, cgroups"
homepage = "https://github.com/EeroEternal/agentcell"
documentation = "https://docs.rs/agentcell"
readme = "rust/README.md"
keywords = [
"sandbox",
"seccomp",
"landlock",
"namespace",
"cgroup",
]
categories = [
"os::linux-apis",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/EeroEternal/agentcell"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "agentcell"
path = "rust/src/lib.rs"
[[example]]
name = "spawn"
path = "rust/examples/spawn.rs"
[dependencies.libc]
version = "0.2"
[build-dependencies.cc]
version = "1"