23 releases (2 stable)

2.0.0-rc.20 Sep 18, 2024
2.0.0-rc.17 Aug 17, 2024
2.0.0-rc.11 Jun 2, 2024
2.0.0-rc.4 Dec 5, 2023
0.0.2 Nov 30, 2022

#261 in Web programming

Download history 665/week @ 2024-08-21 773/week @ 2024-08-28 864/week @ 2024-09-04 654/week @ 2024-09-11 912/week @ 2024-09-18 1012/week @ 2024-09-25 821/week @ 2024-10-02 997/week @ 2024-10-09 1258/week @ 2024-10-16 934/week @ 2024-10-23 596/week @ 2024-10-30 694/week @ 2024-11-06 828/week @ 2024-11-13 978/week @ 2024-11-20 915/week @ 2024-11-27 813/week @ 2024-12-04

3,735 downloads per month
Used in 3 crates

MIT license

55KB
883 lines

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

Running tests

mkdir _out
OUT_DIR="$(pwd)/_out" cargo test --all --all-features

Credit

Created by oscartbeaumont and Brendonovich.

Dependencies

~18–59MB
~890K SLoC