12 releases (2 stable)

new 2.0.0-rc.9 May 9, 2024
2.0.0-rc.8 May 2, 2024
2.0.0-rc.4 Dec 5, 2023
2.0.0-rc.3 Oct 22, 2023
0.0.2 Nov 30, 2022

#1047 in Asynchronous

Download history 416/week @ 2024-01-23 252/week @ 2024-01-30 288/week @ 2024-02-06 331/week @ 2024-02-13 490/week @ 2024-02-20 535/week @ 2024-02-27 369/week @ 2024-03-05 287/week @ 2024-03-12 425/week @ 2024-03-19 651/week @ 2024-03-26 883/week @ 2024-04-02 433/week @ 2024-04-09 407/week @ 2024-04-16 390/week @ 2024-04-23 945/week @ 2024-04-30 579/week @ 2024-05-07

2,376 downloads per month
Used in 2 crates

MIT license

45KB
1K SLoC

Specta Logo

Tauri Specta

Typesafe Tauri commands

Discord crates.io License

[!NOTE]
This branch contains tauri-specta v2, you can checkout the git tag v1.0.2 for the previous version.

Getting Started

First you will need to choose a version:

Tauri v1 Tauri v2
Specta v1 Tauri Specta v1 docs Unsupported
Specta v2 Unsupported Tauri Specta v2 docs

Tauri Specta v2 also comes with support for generating types for events.

Follow the documentation links above for help getting started.

Development

Run the example:

pnpm i
cd examples/app/
pnpm tauri dev

Credit

Created by oscartbeaumont and Brendonovich.

Dependencies

~17–59MB
~1M SLoC