# 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.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time (local & cloud) simultaneous microphone and system audio transcription for macOS."
readme = "README.md"
keywords = [
    "audio",
    "transcription",
    "speech-to-text",
    "macos",
    "system-audio",
]
categories = [
    "multimedia::audio",
    "api-bindings",
]
license = "AGPL-3.0-only"
repository = "https://github.com/samuelokirby/splitstream"

[features]
deepgram = [
    "dep:opus",
    "dep:ogg",
    "dep:tokio-tungstenite",
    "dep:tungstenite",
    "dep:futures-util",
    "dep:http",
]
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"
optional = true

[dependencies.http]
version = "1.3.1"
optional = true

[dependencies.log]
version = "0.4.28"

[dependencies.ogg]
version = "0.9.2"
optional = true

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

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

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

[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"]
optional = true

[dependencies.tungstenite]
version = "0.27.0"
optional = true

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

[dev-dependencies]
