whisper-cpp-plus 0.1.2

Safe Rust bindings for whisper.cpp with real-time PCM streaming and VAD support
# 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.70.0"
name = "whisper-cpp-plus"
version = "0.1.2"
authors = ["Ross Morsali"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for whisper.cpp with real-time PCM streaming and VAD support"
readme = "README.md"
keywords = [
    "whisper",
    "speech",
    "transcription",
    "streaming",
    "speech-to-text",
]
categories = [
    "multimedia::audio",
    "api-bindings",
    "science::robotics",
]
license = "MIT"
repository = "https://github.com/getpinch/whisper-cpp-plus-rs"

[package.metadata.docs.rs]
all-features = true

[features]
async = ["tokio"]
cuda = ["whisper-cpp-plus-sys/cuda"]
default = ["quantization"]
metal = ["whisper-cpp-plus-sys/metal"]
openblas = ["whisper-cpp-plus-sys/openblas"]
quantization = ["whisper-cpp-plus-sys/quantization"]

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

[[example]]
name = "async_transcribe"
path = "examples/async_transcribe.rs"
required-features = ["async"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "enhanced_fallback_bench"
path = "benches/enhanced_fallback_bench.rs"
harness = false

[[bench]]
name = "enhanced_vad_bench"
path = "benches/enhanced_vad_bench.rs"
harness = false

[[bench]]
name = "transcription"
path = "benches/transcription.rs"
harness = false

[dependencies.flate2]
version = "1.0"

[dependencies.num_cpus]
version = "1.16"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]
optional = true

[dependencies.whisper-cpp-plus-sys]
version = "0.1.2"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hound]
version = "3.5"

[dev-dependencies.rand]
version = "0.8"

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