# 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 = "splitstream"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time microphone and system audio transcription for macOS, with echo cancellation and multiple backends (Deepgram, Whisper, Parakeet)."
readme = "README.md"
keywords = [
    "audio",
    "transcription",
    "speech-to-text",
    "macos",
    "system-audio",
]
categories = [
    "multimedia::audio",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/samuelokirby/splitstream"

[features]
default = ["parakeet"]
parakeet = ["dep:parakeet-rs"]
whisper = ["dep:whisper-rs"]

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

[[bin]]
name = "download-parakeet"
path = "src/bin/download_parakeet.rs"

[[bin]]
name = "splitstream"
path = "src/bin/splitstream.rs"

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

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

[dependencies.aec-rs]
version = "1.0.0"

[dependencies.chrono]
version = "0.4.42"

[dependencies.cidre]
version = "0.15"

[dependencies.colored]
version = "3.0.0"

[dependencies.config]
version = "0.15.15"

[dependencies.cpal]
version = "0.17.3"

[dependencies.dotenvy]
version = "0.15"

[dependencies.fixed-resample]
version = "0.9.1"

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

[dependencies.http]
version = "1.3.1"

[dependencies.log]
version = "0.4.28"

[dependencies.ogg]
version = "0.9.2"

[dependencies.opus]
version = "0.3.0"

[dependencies.parakeet-rs]
version = "0.3"
optional = true

[dependencies.ringbuf]
version = "0.4.8"

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.thiserror]
version = "2.0.16"

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

[dependencies.tokio-tungstenite]
version = "0.27.0"
features = ["native-tls"]

[dependencies.tungstenite]
version = "0.27.0"

[dependencies.whisper-rs]
version = "0.15"
features = ["metal"]
optional = true

[dev-dependencies]
