Initial Commit

This commit is contained in:
2026-07-29 03:23:08 +02:00
commit 6a8e9cfd4f
25 changed files with 930 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
use std::{env, path::PathBuf};
fn main() {
let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
println!(
"cargo:rustc-link-search=native={}",
root.join("vosk-linux-x86_64-0.3.45").display()
);
println!("cargo:rustc-link-lib=dylib=vosk");
println!("cargo:rerun-if-changed=vosk-linux-x86_64-0.3.45/vosk_api.h");
}