38 lines
967 B
TOML
38 lines
967 B
TOML
[package]
|
|
name = "hunjing-sandbox"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.75"
|
|
description = "魂镜安全沙箱服务:为百工工具运行时提供本地隔离的命令执行层(Rust + axum HTTP 微服务)"
|
|
license = "Apache-2.0"
|
|
|
|
[features]
|
|
default = []
|
|
docker-tests = []
|
|
|
|
[[bin]]
|
|
name = "hunjing-sandbox"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
axum = "0.7"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "process", "time", "fs", "io-util", "signal", "sync"] }
|
|
tokio-stream = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tower = "0.5"
|
|
tower-http = { version = "0.6", default-features = false, features = ["trace", "limit"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tracing-appender = "0.2"
|
|
anyhow = "1"
|
|
dotenvy = "0.15"
|
|
libc = "0.2"
|
|
tempfile = "3"
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
base64 = "0.22"
|
|
prometheus = "0.13"
|
|
bollard = "0.18"
|
|
futures-util = "0.3"
|