kokoroxide 0.1.5

A Rust implementation of Kokoro TTS (Text-to-Speech) synthesis
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    // Link espeak-ng library
    if cfg!(target_os = "macos") {
        // For macOS with Homebrew
        println!("cargo:rustc-link-search=/opt/homebrew/lib");
        println!("cargo:rustc-link-lib=espeak-ng");
    } else if cfg!(any(target_os = "linux", target_os = "android")) {
        // For Linux and Android
        println!("cargo:rustc-link-lib=espeak-ng");
    }
}