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
3,816 downloads per month
Used in 3 crates
55KB
883 lines
[!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