[package]
name = "transcribe-cpp"
version = "0.4.1"
edition = "2021"
rust-version = "1.74"
description = "Rust bindings for transcribe.cpp, a C/C++ speech-to-text library built on ggml"
license = "MIT"
readme = "README.md"
repository = "https://github.com/handy-computer/transcribe.cpp"
homepage = "https://github.com/handy-computer/transcribe.cpp"
keywords = ["transcription", "speech", "asr", "stt", "ggml"]
categories = ["multimedia::audio", "api-bindings"]
links = "transcribe_cpp"
[lib]
name = "transcribe_cpp"
path = "src/lib.rs"
[features]
default = ["metal"]
metal = ["transcribe-cpp-sys/metal"]
vulkan = ["transcribe-cpp-sys/vulkan"]
cuda = ["transcribe-cpp-sys/cuda"]
rocm = ["transcribe-cpp-sys/rocm"]
openmp = ["transcribe-cpp-sys/openmp"]
shared = ["transcribe-cpp-sys/shared"]
dynamic-backends = ["shared", "transcribe-cpp-sys/dynamic-backends"]
serde = ["dep:serde"]
[dependencies]
transcribe-cpp-sys = { version = "0.4.1", path = "../../..", default-features = false }
thiserror = "2"
log = "0.4"
serde = { version = "1", features = ["derive"], optional = true }
[dev-dependencies]
hound = "3"
postcard = { version = "1", default-features = false, features = ["alloc"] }
serde_json = "1"