# 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"
name = "omni-code-bridge"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bridge for Omni Code that connects mobile clients to local coding agents"
homepage = "https://github.com/omni-stream-ai/omni-code-bridge"
readme = "README.md"
license = "MIT"
repository = "https://github.com/omni-stream-ai/omni-code-bridge"

[[bin]]
name = "omni-code-bridge"
path = "src/main.rs"

[[example]]
name = "speech_realtime_smoke"
path = "examples/speech_realtime_smoke.rs"

[dependencies.anyhow]
version = "1"

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

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

[dependencies.bzip2]
version = "0.6"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dotenvy]
version = "0.15"

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

[dependencies.hound]
version = "3.5"

[dependencies.jsonwebtoken]
version = "9"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sherpa-onnx]
version = "1.13.1"

[dependencies.symphonia]
version = "0.5"
features = [
    "aac",
    "flac",
    "isomp4",
    "mp3",
    "ogg",
    "pcm",
    "vorbis",
    "wav",
]

[dependencies.tar]
version = "0.4"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

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

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