[package]
edition = "2024"
name = "heel"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform native sandboxing library for running untrusted code"
readme = "README.md"
keywords = [
"sandbox",
"security",
"isolation",
"python",
"venv",
]
categories = [
"os",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lexoliu/heel"
[features]
default = ["python"]
python = ["which"]
[lib]
name = "heel"
path = "src/lib.rs"
[[bin]]
name = "heel"
path = "src/bin/heel/main.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "debug_sandbox"
path = "examples/debug_sandbox.rs"
[[example]]
name = "ipc_web_search"
path = "examples/ipc_web_search.rs"
[[example]]
name = "minimal_test"
path = "examples/minimal_test.rs"
[[example]]
name = "network_test"
path = "examples/network_test.rs"
[[example]]
name = "proxy_filter"
path = "examples/proxy_filter.rs"
[[example]]
name = "python_sandbox"
path = "examples/python_sandbox.rs"
[[example]]
name = "security_test"
path = "examples/security_test.rs"
[[example]]
name = "system_check"
path = "examples/system_check.rs"
[[example]]
name = "test5_only"
path = "examples/test5_only.rs"
[[example]]
name = "test_all_hardware"
path = "examples/test_all_hardware.rs"
[[example]]
name = "test_gpu"
path = "examples/test_gpu.rs"
[[example]]
name = "test_hardware"
path = "examples/test_hardware.rs"
[[example]]
name = "test_npu"
path = "examples/test_npu.rs"
[[example]]
name = "test_security"
path = "examples/test_security.rs"
[[example]]
name = "trace_sandbox"
path = "examples/trace_sandbox.rs"
[dependencies.askama]
version = "0.12"
[dependencies.async-io]
version = "2"
[dependencies.async-net]
version = "2"
[dependencies.blocking]
version = "1"
[dependencies.bytes]
version = "1.11.1"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.crossterm]
version = "0.29"
[dependencies.executor-core]
version = "0.7"
features = [
"async-executor",
"std",
]
[dependencies.futures-lite]
version = "2"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"server",
"client",
]
[dependencies.polling]
version = "3"
[dependencies.rand]
version = "0.8"
[dependencies.remove_dir_all]
version = "0.8"
[dependencies.rmp-serde]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.shell-escape]
version = "0.1"
[dependencies.smol]
version = "2"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.which]
version = "7"
optional = true
[dev-dependencies.executor-core]
version = "0.7"
features = ["tokio"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4"
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.29"
features = [
"process",
"feature",
]
[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.4"
[target.'cfg(target_os = "macos")'.dependencies.pty-process]
version = "0.5"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58"
features = [
"Win32_Security_Isolation",
"Win32_System_JobObjects",
"Win32_System_Threading",
"Win32_Foundation",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"