# 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.94.0"
name = "meerkat-live"
version = "0.7.6"
authors = ["Luka Crnkovic-Friis"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Live audio/text transport for Meerkat — composable WebSocket bridge between clients and LiveAdapterHost"
homepage = "https://docs.rkat.ai"
documentation = "https://docs.rkat.ai"
readme = false
keywords = [
    "agent",
    "llm",
    "ai",
    "meerkat",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lukacf/meerkat"
resolver = "2"

[features]
__meerkat-generated-authority-bridge = []
default = []
webrtc = [
    "dep:bytes",
    "dep:webrtc",
    "dep:webrtc-media",
    "dep:opus",
    "dep:rubato",
]

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

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

[dependencies.axum]
version = "0.8"
features = [
    "json",
    "ws",
]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.meerkat-contracts]
version = "0.7.6"
default-features = false

[dependencies.meerkat-core]
version = "0.7.6"

[dependencies.opus]
version = "0.3.1"
optional = true

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

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

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "v5",
    "v7",
    "serde",
]

[dependencies.webrtc]
version = "0.14.0"
optional = true

[dependencies.webrtc-media]
version = "0.11.0"
optional = true

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.meerkat-machine-schema]
version = "0.7.6"

[dev-dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

[dev-dependencies.tokio-tungstenite]
version = "0.29"
