# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ai-jail"
version = "1.4.2"
build = false
exclude = [
    ".github/",
    "docs/",
    "dist/",
    "packaging/",
    ".claude/",
    ".ai-jail",
    ".codex",
    ".lobster/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sandbox for AI coding agents (bubblewrap on Linux, sandbox-exec on macOS)"
readme = "README.md"
keywords = [
    "sandbox",
    "ai",
    "security",
    "bubblewrap",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "GPL-3.0-only"
repository = "https://github.com/akitaonrails/ai-jail"

[[bin]]
name = "ai-jail"
path = "src/main.rs"

[[test]]
name = "resize_integration"
path = "tests/resize_integration.rs"

[[test]]
name = "sandbox_escape"
path = "tests/sandbox_escape.rs"

[dependencies.lexopt]
version = "0.3"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "0.8"

[dependencies.vt100]
version = "0.16"

[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4"

[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.5"

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
    "poll",
    "term",
    "resource",
]

[profile.release]
lto = true
strip = true
