# 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 = "2021"
rust-version = "1.75"
name = "adk-realtime"
version = "0.1.5"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time bidirectional audio/video streaming for Rust Agent Development Kit (ADK-Rust) agents"
documentation = "https://docs.rs/adk-realtime"
readme = "README.md"
keywords = [
    "adk",
    "ai",
    "realtime",
    "voice",
    "audio",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"

[features]
default = []
full = [
    "openai",
    "gemini",
]
gemini = ["dep:tokio-tungstenite"]
openai = [
    "dep:async-openai",
    "dep:tokio-tungstenite",
]

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

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

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

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

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

[dependencies.async-openai]
version = "0.27"
optional = true

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

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

[dependencies.base64]
version = "0.22"

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["native-tls"]
optional = true

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.tokio]
version = "1.40"
features = ["full"]
