adk-code 0.4.0

Code execution substrate for ADK-Rust — typed executor abstraction, sandbox policy model, and built-in execution backends
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "adk-code"
version = "0.4.0"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code execution substrate for ADK-Rust — typed executor abstraction, sandbox policy model, and built-in execution backends"
documentation = "https://docs.rs/adk-code"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "adk",
    "code-execution",
    "sandbox",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"
resolver = "2"

[features]
default = []
docker = [
    "dep:bollard",
    "dep:rand",
    "dep:futures",
]
embedded-js = ["dep:boa_engine"]

[lib]
name = "adk_code"
path = "src/lib.rs"

[[test]]
name = "backend_isolation_property_tests"
path = "tests/backend_isolation_property_tests.rs"

[[test]]
name = "code_tool_integration"
path = "tests/code_tool_integration.rs"

[[test]]
name = "collaboration_property_tests"
path = "tests/collaboration_property_tests.rs"

[[test]]
name = "container_isolation_property_tests"
path = "tests/container_isolation_property_tests.rs"

[[test]]
name = "executor_tests"
path = "tests/executor_tests.rs"

[[test]]
name = "metadata_property_tests"
path = "tests/metadata_property_tests.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "rust_executor_integration"
path = "tests/rust_executor_integration.rs"

[[test]]
name = "rust_sandbox_property_tests"
path = "tests/rust_sandbox_property_tests.rs"

[[test]]
name = "wasm_guest_property_tests"
path = "tests/wasm_guest_property_tests.rs"

[dependencies.adk-core]
version = "0.4.0"

[dependencies.adk-sandbox]
version = "0.4.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.boa_engine]
version = "0.20"
optional = true

[dependencies.bollard]
version = "0.18"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.40"
features = [
    "fs",
    "process",
    "time",
    "io-util",
    "sync",
    "macros",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "rt",
    "macros",
    "test-util",
]
default-features = false