adk-tool 0.8.2

Tool system for Rust Agent Development Kit (ADK-Rust) agents (FunctionTool, MCP, Google Search)
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-tool"
version = "0.8.2"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool system for Rust Agent Development Kit (ADK-Rust) agents (FunctionTool, MCP, Google Search)"
documentation = "https://docs.rs/adk-tool"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "adk",
    "tools",
    "mcp",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"
resolver = "2"

[features]
bigquery = ["dep:gcp-bigquery-client"]
code = [
    "dep:adk-code",
    "dep:adk-sandbox",
]
code-docker = [
    "code",
    "adk-code/docker",
]
code-embedded-js = [
    "code",
    "adk-code/embedded-js",
]
default = []
http-transport = [
    "mcp",
    "rmcp/transport-streamable-http-client-reqwest",
    "reqwest",
]
mcp = ["dep:rmcp"]
mcp-sampling = ["mcp"]
memory-tools = [
    "dep:adk-memory",
    "dep:chrono",
]
slack = ["reqwest"]
spanner = ["dep:google-cloud-spanner"]

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

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

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

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

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

[[test]]
name = "mcp_server_lifecycle_integration_tests"
path = "tests/mcp_server_lifecycle_integration_tests.rs"
required-features = ["mcp"]

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

[dependencies.adk-code]
version = "0.8.2"
optional = true

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

[dependencies.adk-memory]
version = "0.8.2"
optional = true

[dependencies.adk-rust-macros]
version = "0.8.2"

[dependencies.adk-sandbox]
version = "0.8.2"
optional = true

[dependencies.adk-telemetry]
version = "0.8.2"

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.gcp-bigquery-client]
version = "0.28"
optional = true

[dependencies.google-cloud-spanner]
version = "0.33"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls-native-roots",
    "multipart",
]
optional = true
default-features = false

[dependencies.rmcp]
version = "1.6"
features = [
    "client",
    "transport-child-process",
]
optional = true

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.23"
features = [
    "v4",
    "serde",
]

[dev-dependencies.adk-code]
version = "0.8.2"

[dev-dependencies.async-stream]
version = "0.3"

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

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