[package]
edition = "2024"
rust-version = "1.88"
name = "synwire-sandbox"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-specific sandbox backends for synwire agents"
homepage = "https://randomvariable.github.io/synwire/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/randomvariable/synwire"
resolver = "2"
[lib]
name = "synwire_sandbox"
path = "src/lib.rs"
[[test]]
name = "linux_e2e"
path = "tests/linux_e2e.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.expectrl]
version = "0.8"
[dependencies.futures-util]
version = "0.3"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.synwire-core]
version = "0.1.0"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dependencies.which]
version = "7"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.29"
features = [
"process",
"signal",
"mount",
"sched",
"user",
"term",
"socket",
"fs",
]
[target.'cfg(target_os = "linux")'.dependencies.oci-spec]
version = "0.9"
features = ["runtime"]
[target.'cfg(target_os = "linux")'.dev-dependencies.nix]
version = "0.29"
features = [
"process",
"signal",
"mount",
"sched",
"user",
"term",
"socket",
"fs",
]
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unsafe_code = "deny"
unused_imports = "deny"
unused_results = "deny"