Rust API
In this section, we describe how to use the Rust API of sherpa-onnx.
The Rust crate lives in the sherpa-onnx repository and is published on crates.io as sherpa-onnx. API documentation is available at docs.rs.
We also provide a collection of runnable examples in rust-api-examples.
- Install the Rust crate
- Advanced installation
- Rust examples
- version
- pocket_tts
- supertonic_tts
- zipvoice_tts
- vits_tts
- matcha_tts_en
- matcha_tts_zh
- kokoro_tts_en
- kokoro_tts_zh_en
- kitten_tts_en
- streaming_zipformer
- streaming_zipformer_microphone
- zipformer
- nemo_parakeet
- fire_red_asr_ctc
- moonshine_v2
- sense_voice
- silero_vad_remove_silence
- offline_speech_enhancement_gtcrn
- offline_speech_enhancement_dpdfnet
- streaming_speech_enhancement_gtcrn
- streaming_speech_enhancement_dpdfnet
- online_punctuation
- keyword_spotter
- spoken_language_identification
- offline_punctuation
- audio_tagging_zipformer
- audio_tagging_ced
- speaker_embedding_extractor
- speaker_embedding_manager
- speaker_embedding_cosine_similarity
- offline_speaker_diarization