tauri-syntax-commands

Installation
SKILL.md

tauri-syntax-commands

Quick Reference

Command Definition (Rust)

Pattern Syntax Notes
Sync command #[tauri::command] fn name() -> T Runs on main thread
Async command #[tauri::command] async fn name() -> T Spawned on tokio runtime
Forced async #[tauri::command(async)] fn name() -> T Sync function on tokio runtime
Renamed args #[tauri::command(rename_all = "snake_case")] JS passes snake_case keys

Argument Types (Rust <- JS)

Installs
1
GitHub Stars
5
First Seen
Oct 13, 2026