[package] name = "whisper_cpp" version = "0.2.1" description = "Rust bindings for Whisper.cpp" edition = "2021" authors = ["Pedro Valente "] repository = "https://github.com/binedge/whisper_cpp-rs" license = "MIT OR Apache-2.0" readme = "../../README.md" publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] derive_more = "0.99.17" thiserror = { workspace = true } tokio = { workspace = true, features = ["sync", "rt"] } tracing = "0.1.40" whisper_cpp_sys = { version = "^0.2.1", path = "../whisper_cpp_sys", default-features = false } [features] default = ["compat", "native"] compat = ["whisper_cpp_sys/compat"] # this feature modifies the symbols exposed by the generated libraries to avoid conflicts native = ["avx", "avx2", "fma", "f16c", "accel"] avx = ["whisper_cpp_sys/avx"] avx2 = ["whisper_cpp_sys/avx2"] fma = ["whisper_cpp_sys/fma"] f16c = ["whisper_cpp_sys/f16c"] # implied when compiled using MSVC with avx2/avx512 accel = ["whisper_cpp_sys/accel"] # Accelerate framework openvino = ["whisper_cpp_sys/openvino"] cuda = ["whisper_cpp_sys/cuda"] metal = ["whisper_cpp_sys/metal"] blas = ["whisper_cpp_sys/blas"] hipblas = ["whisper_cpp_sys/hipblas"] clblast = ["whisper_cpp_sys/clblast"]