Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

[dependencies]
adk-rust = { version = "0.9.1", default-features = false, features = ["minimal", "standard", "enterprise", "full", "cli", "cli-openai", "cli-anthropic", "cli-deepseek", "cli-groq", "cli-ollama", "cli-all-providers", "cli-telemetry-otlp", "agents", "record-payloads", "models", "tools", "skills", "sessions", "artifacts", "memory", "runner", "server", "telemetry", "telemetry-otlp", "graph", "code", "sandbox", "realtime", "browser", "eval", "guardrail", "auth", "plugin", "rag", "payments", "awp", "acp", "a2a", "gemini", "gemini-vertex", "openai", "openrouter", "anthropic", "deepseek", "groq", "ollama", "fireworks", "together", "mistral", "perplexity", "cerebras", "sambanova", "bedrock", "azure-ai", "postgres-session", "redis-session", "mongodb-session", "firestore-session", "neo4j-session", "database-memory", "sqlite-memory", "redis-memory", "mongodb-memory", "neo4j-memory", "auth-bridge", "vertex-live", "livekit", "openai-webrtc", "yaml-agent", "agent-registry", "mcp", "mcp-http", "mcp-sampling", "slack", "bigquery", "spanner", "memory-tools", "personas", "optimize", "aws-secrets", "azure-keyvault", "gcp-secrets", "video-avatar", "audio", "audio-tts", "audio-stt", "audio-fx", "audio-mlx", "audio-onnx", "audio-all", "anthropic-client", "action", "action-http", "action-trigger", "action-db", "action-code", "action-email", "action-rss", "action-full", "whisper-onnx", "distil-whisper", "moonshine", "qwen3-tts", "all-onnx", "kokoro", "chatterbox"] }
default = minimal

The minimal feature is set by default whenever adk-rust is added without default-features = false somewhere in the dependency tree.

minimal default standard? = agents, gemini, models, runner, sessions

Minimal (default) — fastest starter tier for a single Gemini-powered LLM agent.
Excludes: tools, memory, telemetry, OpenAI, Anthropic, MCP, server, CLI, auth,
guardrail, skills, graph, eval, plugin, and artifacts.

standard enterprise? = anthropic, anthropic-client, artifacts, auth, eval, graph, guardrail, memory, minimal, openai, plugin, server, skills, telemetry, tools

Standard — production deployment with server, auth, graph workflows, and evaluation.

enterprise full? = awp, browser, payments, rag, realtime, standard

Enterprise — standard + all production specialist crates.

full = audio, code, enterprise, sandbox

Full — everything: enterprise + all domain add-ons.

cli cli-all-providers? cli-anthropic? cli-deepseek? cli-groq? cli-ollama? cli-openai? cli-telemetry-otlp? optimize? = runner, server, sessions, telemetry

CLI launcher support

Enables adk-cli

cli-openai = cli

Enables openai of adk-cli

cli-anthropic = cli

Enables anthropic of adk-cli

cli-deepseek = cli

Enables deepseek of adk-cli

cli-groq = cli

Enables groq of adk-cli

cli-ollama = cli

Enables ollama of adk-cli

cli-all-providers = cli

Enables all-providers of adk-cli

cli-telemetry-otlp = cli

Enables telemetry-otlp of adk-cli

agents minimal record-payloads?

Component features

Enables adk-agent

Optional components

Affects adk-rust::agent, adk-rust::run

record-payloads = agents

Enables record-payloads of adk-agent

models anthropic? azure-ai? bedrock? cerebras? deepseek? fireworks? gemini? groq? minimal mistral? ollama? openai? openrouter? perplexity? sambanova? together?

Enables adk-model

Affects adk-rust::model

tools bigquery? mcp? memory-tools? slack? spanner? standard?

Enables adk-tool

Affects adk-rust::tool

skills standard?

Enables adk-skill

Affects adk-rust::skill

sessions cli? firestore-session? minimal mongodb-session? neo4j-session? postgres-session? redis-session?

Enables adk-session

Affects adk-rust::session, adk-rust::run

artifacts standard?

Enables adk-artifact

Affects adk-rust::artifact

memory database-memory? memory-tools? mongodb-memory? neo4j-memory? redis-memory? sqlite-memory? standard?

Enables adk-memory

Affects adk-rust::memory

runner cli? minimal

Enables adk-runner

Affects adk-rust::runner, adk-rust::run

server a2a? agent-registry? auth-bridge? cli? standard? yaml-agent?

Enables a2a-v1 of adk-server

Affects adk-rust::server

telemetry cli? standard? telemetry-otlp?

Enables adk-telemetry

Affects adk-rust::telemetry

telemetry-otlp = telemetry

Enables otlp of adk-telemetry

graph action? standard?

Enables adk-graph

Affects adk-rust::graph

code full?

Enables adk-code

Affects adk-rust::code

sandbox full?

Enables adk-sandbox

Affects adk-rust::sandbox

realtime enterprise? livekit? openai-webrtc? vertex-live? video-avatar?

Enables adk-realtime

Affects adk-rust::realtime

browser enterprise?

Enables adk-browser

Affects adk-rust::browser

eval personas? standard?

Enables adk-eval

Affects adk-rust::eval

guardrail standard?

Enables adk-guardrail

Affects adk-rust::guardrail

auth auth-bridge? aws-secrets? azure-keyvault? gcp-secrets? standard?

Enables adk-auth

Affects adk-rust::auth

plugin standard?

Enables adk-plugin

Affects adk-rust::plugin

rag enterprise?

Enables adk-rag

Affects adk-rust::rag

payments enterprise?

Enables adk-payments

Affects adk-rust::payment

awp enterprise?

Enables adk-awp

acp

Enables adk-acp

a2a = server

A2A protocol feature (forwarded to adk-server)

Enables a2a-v1 of adk-server

gemini gemini-vertex? minimal = models

Model provider features (forwarded to adk-model)

Enables gemini of adk-model

gemini-vertex = gemini

Enables gemini-vertex of adk-model

openai standard? = models

Enables openai of adk-model

openrouter = models

Enables openrouter of adk-model

anthropic standard? = models

Enables anthropic of adk-model

deepseek = models

Enables deepseek of adk-model

groq = models

Enables groq of adk-model

ollama = models

Enables ollama of adk-model

fireworks = models

Enables fireworks of adk-model

together = models

Enables together of adk-model

mistral = models

Enables mistral of adk-model

perplexity = models

Enables perplexity of adk-model

cerebras = models

Enables cerebras of adk-model

sambanova = models

Enables sambanova of adk-model

bedrock = models

Enables bedrock of adk-model

azure-ai = models

Enables azure-ai of adk-model

postgres-session = sessions

Production backend features (forwarded to adk-session, adk-memory, adk-auth) These require external infrastructure (PostgreSQL, Redis, MongoDB, Firestore, Neo4j) and are NOT included in full

Enables postgres of adk-session

redis-session = sessions

Enables redis of adk-session

mongodb-session = sessions

Enables mongodb of adk-session

firestore-session = sessions

Enables firestore of adk-session

neo4j-session = sessions

Enables neo4j of adk-session

database-memory = memory

Enables database-memory of adk-memory

sqlite-memory = memory

Enables sqlite-memory of adk-memory

redis-memory = memory

Enables redis-memory of adk-memory

mongodb-memory = memory

Enables mongodb-memory of adk-memory

neo4j-memory = memory

Enables neo4j-memory of adk-memory

auth-bridge = auth, server

Enables auth-bridge of adk-auth

vertex-live = realtime

Realtime transport features (forwarded to adk-realtime)

Enables vertex-live of adk-realtime

livekit = realtime

Enables livekit of adk-realtime

adk-realtime:

Enable LiveKit WebRTC bridge

openai-webrtc = realtime

Enables openai-webrtc of adk-realtime

adk-realtime:

Enable OpenAI WebRTC transport (requires openai + Sans-IO WebRTC + Opus codec)

yaml-agent = server

v0.7.0 competitive parity features (opt-in only, NOT included in standard or full)
YAML agent config and hot reload (forwarded to adk-server)

Enables yaml-agent of adk-server

Affects adk-rust::yaml_agent

agent-registry = server

Agent Registry REST API (forwarded to adk-server)

Enables agent-registry of adk-server

Affects adk-rust::registry

mcp mcp-http? mcp-sampling? = tools

MCP sampling callback support (forwarded to adk-tool)

Enables mcp of adk-tool

mcp-http = mcp

Enables http-transport of adk-tool

adk-tool:

Enable HTTP transport for remote MCP servers (streamable HTTP)

mcp-sampling = mcp

Enables mcp-sampling of adk-tool

adk-tool:

Enable MCP sampling callback support (sampling/createMessage handling)

Affects adk-rust::sampling

slack = tools

Native Slack toolset (forwarded to adk-tool)

Enables slack of adk-tool

Affects adk-rust::slack

bigquery = tools

Native BigQuery toolset (forwarded to adk-tool)

Enables bigquery of adk-tool

Affects adk-rust::bigquery

spanner = tools

Native Spanner toolset (forwarded to adk-tool)

Enables spanner of adk-tool

Affects adk-rust::spanner

memory-tools = memory, tools

Memory tools (LoadMemoryTool, PreloadMemoryTool) (forwarded to adk-tool)

Enables memory-tools of adk-tool

personas = eval

User personas for evaluation (forwarded to adk-eval)

Enables personas of adk-eval

Affects adk-rust::personas

optimize = cli

Prompt optimization CLI command (forwarded to adk-cli)

Enables optimize of adk-cli

aws-secrets = auth

Cloud secret manager providers (forwarded to adk-auth)

Enables aws-secrets of adk-auth

azure-keyvault = auth

Enables azure-keyvault of adk-auth

gcp-secrets = auth

Enables gcp-secrets of adk-auth

video-avatar = realtime

Video avatar support for realtime sessions (forwarded to adk-realtime)

Enables video-avatar of adk-realtime

Affects adk-rust::avatar

audio all-onnx? audio-all? audio-fx? audio-mlx? audio-onnx? audio-stt? audio-tts? chatterbox? distil-whisper? full? kokoro? moonshine? qwen3-tts? whisper-onnx?

Audio features (forwarded to adk-audio)

Enables adk-audio

Affects adk-rust::audio

audio-tts = audio

Enables tts of adk-audio

audio-stt = audio

Enables stt of adk-audio

audio-fx = audio

Enables fx of adk-audio

audio-mlx = audio

Enables mlx of adk-audio

audio-onnx = audio

Enables onnx of adk-audio

adk-audio:

Cross-platform local inference

audio-all = audio

Enables all of adk-audio

adk-audio:

All portable features — safe for --all-features and CI on any platform.

anthropic-client standard?

Anthropic client crate (direct access to adk-anthropic types)

Enables adk-anthropic

Affects adk-rust::anthropic_client

action action-code? action-db? action-email? action-full? action-http? action-rss? action-trigger? = graph

Action node features (forwarded to adk-graph)

Enables adk-action, action of adk-graph

action-http = action

Enables action-http of adk-graph

action-trigger = action

Enables action-trigger of adk-graph

action-db = action

Enables action-db of adk-graph

action-code = action

Enables action-code of adk-graph

action-email = action

Enables action-email of adk-graph

action-rss = action

Enables action-rss of adk-graph

action-full = action

Enables action-full of adk-graph

whisper-onnx = audio

ONNX audio model features (forwarded to adk-audio)

Enables whisper-onnx of adk-audio

distil-whisper = audio

Enables distil-whisper of adk-audio

moonshine = audio

Enables moonshine of adk-audio

qwen3-tts = audio

Enables qwen3-tts of adk-audio

adk-audio:

TTS backends (ONNX / Candle)

all-onnx = audio

Enables all-onnx of adk-audio

adk-audio:

All ONNX backends (STT + TTS)

kokoro = audio

Enables kokoro of adk-audio

chatterbox = audio

Enables chatterbox of adk-audio