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

#145 in Web programming

Download history 542/week @ 2024-07-18 591/week @ 2024-07-25 788/week @ 2024-08-01 570/week @ 2024-08-08 749/week @ 2024-08-15 741/week @ 2024-08-22 676/week @ 2024-08-29 912/week @ 2024-09-05 716/week @ 2024-09-12 922/week @ 2024-09-19 1018/week @ 2024-09-26 838/week @ 2024-10-03 984/week @ 2024-10-10 1143/week @ 2024-10-17 940/week @ 2024-10-24 543/week @ 2024-10-31

3,816 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–63MB
~899K SLoC