[package]
name = "sandbox"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
description = "OS-level sandboxing for terminal processes in Zed"

[lints]
workspace = true

[lib]
path = "src/sandbox.rs"
doctest = false

[dependencies]
log.workspace = true
serde.workspace = true
serde_json.workspace = true
settings_content.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
uuid.workspace = true

[target.'cfg(unix)'.dependencies]
libc.workspace = true

[target.'cfg(target_os = "linux")'.dependencies]
landlock = "0.4"
uuid.workspace = true

[dev-dependencies]
settings_content.workspace = true
tempfile.workspace = true
