adk-audio 0.8.0

Audio intelligence and pipeline orchestration for ADK-Rust agents
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-audio"
version = "0.8.0"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audio intelligence and pipeline orchestration for ADK-Rust agents"
documentation = "https://docs.rs/adk-audio"
readme = "README.md"
keywords = [
    "adk",
    "audio",
    "tts",
    "stt",
    "speech",
]
categories = [
    "multimedia::audio",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"
resolver = "2"

[features]
all = [
    "tts",
    "stt",
    "music",
    "fx",
    "vad",
    "streaming",
    "mlx",
    "all-onnx",
    "livekit",
]
all-onnx = [
    "onnx",
    "kokoro",
    "chatterbox",
    "whisper-onnx",
    "distil-whisper",
    "moonshine",
    "qwen3-tts",
]
chatterbox = ["onnx"]
default = [
    "tts",
    "stt",
]
desktop-audio = [
    "dep:cpal",
    "vad",
]
distil-whisper = ["onnx"]
fx = [
    "dep:rubato",
    "dep:dasp",
]
kokoro = [
    "onnx",
    "dep:espeak-rs",
    "dep:ndarray",
    "dep:ndarray-npy",
]
livekit = [
    "dep:livekit-api",
    "dep:adk-realtime",
    "dep:base64",
]
mlx = [
    "dep:tokenizers",
    "dep:hf-hub",
]
moonshine = ["onnx"]
music = ["dep:reqwest"]
onnx = [
    "dep:ort",
    "dep:tokenizers",
    "dep:hf-hub",
]
qwen3-tts = [
    "dep:qwen_tts",
    "dep:hf-hub",
    "dep:candle-core",
]
streaming = []
stt = [
    "dep:reqwest",
    "dep:tokio-tungstenite",
]
tts = [
    "dep:reqwest",
    "dep:base64",
]
vad = ["dep:webrtc-vad"]
whisper-onnx = ["onnx"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.adk-core]
version = "0.8.0"
features = ["rustls"]

[dependencies.adk-realtime]
version = "0.8.0"
optional = true

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

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

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.bytemuck]
version = "1"
features = ["derive"]

[dependencies.bytes]
version = "1"

[dependencies.candle-core]
version = "0.9"
optional = true

[dependencies.cpal]
version = "0.15"
optional = true

[dependencies.dasp]
version = "0.11"
features = ["signal"]
optional = true

[dependencies.espeak-rs]
version = "0.1"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.hf-hub]
version = "0.5"
optional = true

[dependencies.livekit-api]
version = "0.4.18"
features = [
    "signal-client-tokio",
    "services-tokio",
    "access-token",
]
optional = true
default-features = false

[dependencies.ndarray]
version = "0.17"
optional = true

[dependencies.ndarray-npy]
version = "0.10"
optional = true

[dependencies.ort]
version = "2.0.0-rc.11"
optional = true

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.qwen_tts]
version = "0.1"
optional = true

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

[dependencies.rubato]
version = "2.0"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.22"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
    "time",
]

[dependencies.tokio-tungstenite]
version = "0.28"
features = [
    "rustls-tls-native-roots",
    "connect",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.webrtc-vad]
version = "0.4"
optional = true

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

[dev-dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]