[package]
edition = "2021"
name = "tabox"
version = "1.3.7"
authors = ["Alessandro Righi <alerighi4@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A sandbox to execute a program in an isolated environment and measure its resource usage"
documentation = "https://docs.rs/tabox"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/olimpiadi-informatica/tabox"
[features]
binary = [
"structopt",
"env_logger",
]
[lib]
name = "tabox"
path = "src/lib.rs"
[[bin]]
name = "tabox"
path = "src/bin/tabox.rs"
required-features = ["binary"]
[dependencies.anyhow]
version = "1"
[dependencies.env_logger]
version = "0.11"
optional = true
[dependencies.lazy_static]
version = "1.5"
[dependencies.libc]
version = "0.2"
[dependencies.log]
version = "0.4"
[dependencies.nix]
version = "0.29"
features = [
"mount",
"fs",
"user",
"sched",
"signal",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.signal-hook]
version = "0.1"
[dependencies.structopt]
version = "0.3"
optional = true
[dependencies.tempfile]
version = "3.14"
[target.'cfg(target_os = "linux")'.dependencies.seccomp-sys]
version = "0.1"
[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "0.14"