[package]
edition = "2021"
name = "bashkit"
version = "0.1.1"
authors = ["Everruns"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sandboxed bash interpreter for multi-tenant environments"
readme = "README.md"
keywords = [
"bash",
"sandbox",
"ai",
"agent",
"everruns",
]
categories = [
"command-line-utilities",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/everruns/bashkit"
[features]
default = []
failpoints = ["fail/failpoints"]
http_client = [
"reqwest",
"base64",
]
logging = ["tracing"]
[lib]
name = "bashkit"
path = "src/lib.rs"
[[example]]
name = "agent_tool"
path = "examples/agent_tool.rs"
required-features = ["http_client"]
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "custom_builtins"
path = "examples/custom_builtins.rs"
[[example]]
name = "custom_filesystem_impl"
path = "examples/custom_filesystem_impl.rs"
[[example]]
name = "custom_fs"
path = "examples/custom_fs.rs"
[[example]]
name = "resource_limits"
path = "examples/resource_limits.rs"
[[example]]
name = "sandbox_identity"
path = "examples/sandbox_identity.rs"
[[example]]
name = "show_tool_output"
path = "examples/show_tool_output.rs"
[[example]]
name = "text_files"
path = "examples/text_files.rs"
[[example]]
name = "text_processing"
path = "examples/text_processing.rs"
[[test]]
name = "builtin_error_security_tests"
path = "tests/builtin_error_security_tests.rs"
[[test]]
name = "custom_builtins_tests"
path = "tests/custom_builtins_tests.rs"
[[test]]
name = "custom_fs_tests"
path = "tests/custom_fs_tests.rs"
[[test]]
name = "logging_security_tests"
path = "tests/logging_security_tests.rs"
[[test]]
name = "network_security_tests"
path = "tests/network_security_tests.rs"
[[test]]
name = "proptest_differential"
path = "tests/proptest_differential.rs"
[[test]]
name = "proptest_security"
path = "tests/proptest_security.rs"
[[test]]
name = "security_failpoint_tests"
path = "tests/security_failpoint_tests.rs"
[[test]]
name = "spec_runner"
path = "tests/spec_runner.rs"
[[test]]
name = "spec_tests"
path = "tests/spec_tests.rs"
[[test]]
name = "threat_model_tests"
path = "tests/threat_model_tests.rs"
[[bench]]
name = "parallel_execution"
path = "benches/parallel_execution.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.chrono]
version = "0.4"
[dependencies.fail]
version = "0.5"
optional = true
[dependencies.flate2]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.globset]
version = "0.4"
[dependencies.jaq-core]
version = "2"
[dependencies.jaq-json]
version = "1"
features = ["serde_json"]
[dependencies.jaq-std]
version = "2"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"stream",
"json",
]
optional = true
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.url]
version = "2"
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
[dev-dependencies.insta]
version = "1"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tokio-test]
version = "0.4"