tts-rs
Library Listed
High-level Text-To-Speech (TTS) interface
- Downloads
- 21,892
- Dependents
- 19
- Stars
- 143
- Forks
- 26
- Contributors
- 11
- Commits
- 491
- Latest release
- 0.26.3 ·
About
This library provides a high-level Text-To-Speech (TTS) interface supporting various backends. Currently supported backends are:
- Windows
- NVDA via the NVDA Controller Client (requires shipping
nvdaControllerClient.dllwith your application) - Screen readers/SAPI via Tolk (requires
tolkCargo feature) - WinRT
- NVDA via the NVDA Controller Client (requires shipping
- Linux via Speech Dispatcher
- macOS/iOS/tvOS/watchOS/visionOS via AVFoundation (macOS 10.14 and above)
- Android
- WebAssembly
Android
Plug-and-play like the other platforms — no Java sources, Gradle plugin, or manifest entries in your app — given two things:
Read the full README
minSdkVersion26 or above. TheUtteranceProgressListenersubclass Android callbacks need ships as an embedded dex, loaded withInMemoryDexClassLoader.- A
Contextsupplied before the firstTts, one of two ways.ndk-contextis consulted by default;android-activitypublishes there for you, including by way ofwinitor a game engine. Or calltts::android::set_contextwith aJavaVMandContextof your choosing — it takes precedence overndk-contextand is the right entry point when the process outlives itsActivityor never has one, such as speech from a foreground service:ndk-context's slot is typically owned by theActivity's glue and released when it's destroyed, whileset_contextholds its own reference for as long as backends need it. Either way the supplied context is traded for its application context, so noActivityis pinned.
Nothing here waits for the engine. Android reports it ready on the app's Java main thread, so a
backend that blocked for that would deadlock any app whose main thread is itself waiting on the
caller — which is every NativeActivity app, since android-activity holds the main thread until
the event loop acknowledges each lifecycle callback. Tts::default() therefore returns as soon as
the engine has been asked to connect, and anything spoken before it answers is queued and replayed
in order. The one exception is synthesize, which returns audio and so has to wait for it; call
that off your event-loop thread.
See examples/android_hello_world.rs, built with cargo-apk:
cargo apk run --example android_hello_world
adb logcat -s tts
Editing android/Bridge.java needs a JDK and ANDROID_HOME; build.rs rebuilds the checked-in dex
from it.
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- Required
- Binds native code: speech-dispatcher-sys, tolk-sys (feature tolk)
- Python bindings
- No Python binding crate found
- License
- MIT
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
High-level Text-To-Speech (TTS) interface |
21,892 downloads over 30 days | 19 | 143 | 0.26.3 | GPU support unknown | Binds native code: speech-dispatcher-sys, tolk-sys (feature tolk) | MIT |
|
jpreprocess Listed
Japanese text preprocessor for Text-to-Speech application (OpenJTalk rewrite in rust language). |
14,491 downloads over 30 days | 7 | 61 | 0.15.0 | GPU support unknown | No native code found | BSD-3-Clause |
|
msedge-tts Listed
This library is a wrapper of MSEdge Read aloud function API. You can use it to synthesize text to speech with many voices MS provided. |
5,349 downloads over 30 days | 3 | 27 | 0.4.1 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
xn-ptts Listed
Phonon text-to-speech inference and serving |
4,761 downloads over 30 days | 1 | 467 | 0.6.0 | CUDA, WebGPU, Metal, Vulkan | No native code found | Apache-2.0 OR MIT |
|
A simple text-to-speech client for Azure TTS API. Python bindings |
488 binary downloads per release | Not applicable | 496 | 6.1.0 | GPU support unknown | No native code found | MIT |
|
A Rust implementation of the Qwen3 Text-to-Speech (TTS) model inference. |
204 binary downloads per release | Not applicable | 237 | Not measured | Not measured | None stated | |
|
voxr New
Audio and speech on boostr: compressed-audio decode, resampling, DSP and grapheme to phoneme, with speech synthesis (Kokoro, VITS), voice cloning (VoxCPM2), transcription with word timings (Whisper), voice activity (Silero) and audio-text scoring (CLAP), on CPU or CUDA. |
642 downloads over 30 days | 2 | 2 | 0.9.1 | CUDA | No native code found | Apache-2.0 |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 5 active dependents and 4 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 143 stars, 26 forks and 11 contributors. It needs 4,539 stars, 434 forks and 79 contributors together.
What else the check found
- The last activity is on 7 Aug 2026, 94 days ago. The rules expect an update within 365 days. Dormancy rule
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 0.26.3 base 300, raised to the 365-day floor: E = 365 daysdormancy: last activity 2026-08-07, 94 days ago, E = 365: activefeatured: not featured: active_users 5 < 11 and new_adopters 4 < 9 and repository route stars 143 (needs 4539), forks 26 (needs 434), contributors 11 (needs 79)listed: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption5 active dependents, 4 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 5 | crates.io database dump | Yes | |
| New dependents (365 days) | 4 | crates.io database dump | Yes | |
| Peak active dependents | 7 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 0.975 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 3 months ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-08-07 | GitHub repository | Yes | |
| Latest release | 2024-07-06 | crates.io database dump | Yes | |
| First release | 2018-12-30 | crates.io database dump | Yes | |
| Latest version | 0.26.3 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 2091 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 5 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution87 releases, 21,892 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 87 | crates.io database dump | Yes | |
| Downloads over 30 days | 21892 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository143 stars, 26 forks, 11 contributors, 491 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 143 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 26 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 11 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 491 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | MIT | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | Binds native code: speech-dispatcher-sys, tolk-sys (feature tolk) | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 19 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.