crispasr-sys
Raw FFI bindings for CrispASR — lightweight on-device speech recognition via ggml.
This crate is the raw extern "C" FFI shim. Its build.rs builds libcrispasr
from source with cmake by default, or links a pre-built copy when
CRISPASR_LIB_DIR is set.
Install
The crates are not on crates.io — depend via git so build.rs has the
CrispASR sources to build against:
[]
= { = "https://github.com/CrispStrobe/CrispASR" }
To skip the cmake build and link a pre-built library instead, install it and point the linker at it:
&& && &&
# e.g. /usr/local/lib
The legacy libwhisper alias also works:
For the safe high-level wrapper see the crispasr crate.
License
MIT — see LICENSE.