[package]
edition = "2021"
name = "agent-bridle-tool-shell"
version = "0.7.4"
authors = ["Shawn Hartsock <hartsock@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Capability-confined shell tool for agent-bridle (argv + safe-subset engine)."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Gilamonster-Foundation/agent-bridle"
[features]
brush = [
"dep:tokio",
"dep:brush-ocap-core",
"dep:brush-ocap-builtins",
]
carried-coreutils = [
"brush",
"dep:brush-ocap-coreutils-builtins",
]
default = ["shell"]
host-shell = ["dep:tokio"]
linux-landlock = ["agent-bridle-core/linux-landlock"]
macos-seatbelt = ["agent-bridle-core/macos-seatbelt"]
os-sandbox = [
"linux-landlock",
"macos-seatbelt",
"windows-appcontainer",
]
shell = ["dep:tokio"]
windows-appcontainer = ["agent-bridle-core/windows-appcontainer"]
[lib]
name = "agent_bridle_tool_shell"
path = "src/lib.rs"
[[bin]]
name = "bridle-netmon"
path = "src/bin/bridle-netmon.rs"
required-features = ["shell"]
[[bin]]
name = "dispatch_host"
path = "src/bin/dispatch_host.rs"
required-features = ["carried-coreutils"]
[[test]]
name = "brush_real"
path = "tests/brush_real.rs"
[[test]]
name = "carried_coreutils"
path = "tests/carried_coreutils.rs"
[[test]]
name = "host_shell_real"
path = "tests/host_shell_real.rs"
[[test]]
name = "real_spawn"
path = "tests/real_spawn.rs"
[[test]]
name = "unbridle"
path = "tests/unbridle.rs"
[[test]]
name = "unbridle_autonomous"
path = "tests/unbridle_autonomous.rs"
[dependencies.agent-bridle-core]
version = "0.7.4"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.brush-ocap-builtins]
version = "0.2"
optional = true
[dependencies.brush-ocap-core]
version = "0.5"
optional = true
[dependencies.brush-ocap-coreutils-builtins]
version = "0.1"
features = [
"coreutils.ls",
"coreutils.cat",
"coreutils.echo",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
]
optional = true
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
]