vox-tauri-stt API Reference (generated)
vox-tauri-stt
Section titled “vox-tauri-stt”Crate: vox-tauri-stt · Version: 0.6.0 · Target: Library (lib.rs)
Speech-to-text bridge types + guest JS for desktop Tauri 2 apps (register the plugin in your app’s src-tauri). Tauri is desktop-only; mobile uses the React Native target.
Crate Overview
Section titled “Crate Overview”Wire format and identifiers for vox-tauri-stt — the speech-to-text plugin surface for
desktop Tauri 2 apps.
With the tauri-plugin feature, plugin::init registers a Tauri 2 plugin whose id matches
[PLUGIN_ID] and whose transcribe command matches [TRANSCRIBE_COMMAND] (guest invoke string).
Without that feature, this crate is serde-only for contracts and tests.
Tauri is desktop-only (ADR: scope-tauri-desktop-only); the former Android Kotlin / iOS Swift
sources were removed with that decision. Mobile transcription belongs to the React Native
target (vox build --target=mobile) via @vox/runtime-rn. See README.md.
Features
Section titled “Features”| Feature | Default / Enables |
|---|---|
default | — |
tauri-plugin | dep:tauri |
Public API Surface
Section titled “Public API Surface”Modules
Section titled “Modules”| Module | Description |
|---|---|
plugin | — |
Structs
Section titled “Structs”| Struct | Description |
|---|---|
TranscribeResult | Guest ↔ Rust contract: same shape as the legacy Capacitor plugin. |
Constants
Section titled “Constants”| Constant | Description |
|---|---|
PLUGIN_ID | Tauri plugin identifier (must match guest JS plugin:vox-stt|…). |
TRANSCRIBE_COMMAND | Invoke command name registered on the plugin. |