Description
tauri-specta gives Tauri applications typesafe commands, so the functions your frontend calls from Rust have matching types on the TypeScript side. The README explains that this branch contains tauri-specta v2, and that the earlier v1.0.2 version is available by checking out its git tag. The project pairs with Specta, and the README's version table shows which combination works: Specta v1 with Tauri v1, and Specta v2 with Tauri v2, with the other combinations marked unsupported. Tauri Specta v2 also generates types for events, which the README mentions alongside the command support. Getting started is covered by documentation links in the README, and a development section explains how to run an example and the test suite. The project was created by oscartbeaumont and Brendonovich. It is aimed at developers who build desktop or mobile apps with Tauri and want their frontend and Rust backend to stay in sync as the API changes.…
Highlights
- Typesafe Tauri commands
- Type generation for events in Tauri v2
- Specta v2 for Tauri v2
- Example app in the development section
- Previous v1.0.2 release available by tag
Ratings & Reviews
No ratings yet
Be the first to rate Tauri Specta.
People also visit
Tauri Specta FAQ
What is tauri-specta?
A library that makes Tauri commands typesafe, so frontend calls match the Rust side.
Which versions does it support?
The README table shows Specta v1 for Tauri v1 and Specta v2 for Tauri v2. The other combinations are listed as unsupported.
Does it cover events?
Yes. The README says Tauri Specta v2 also generates types for events.
Where do I start?
The README links to the Tauri Specta v1 and v2 documentation for getting started.
Who made it?
The README credits oscartbeaumont and Brendonovich as its creators.
What are the best Tauri Specta alternatives?
Popular alternatives to Tauri Specta include TauRPC, Vite Plugin Tauri and Tauri Macos Spotlight Example. See all Tauri Specta alternatives








