| Crates.io | tauri-specta |
| lib.rs | tauri-specta |
| version | 2.0.0-rc.21 |
| created_at | 2022-11-30 15:53:09.693878+00 |
| updated_at | 2025-01-13 04:40:36.426666+00 |
| description | Completely typesafe Tauri commands |
| homepage | |
| repository | https://github.com/oscartbeaumont/tauri-specta |
| max_upload_size | |
| id | 726253 |
| size | 170,026 |
[!NOTE]
This branch contains tauri-specta v2, you can checkout the git tag v1.0.2 for the previous version.
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.
Run the example:
pnpm i
cd examples/app/
pnpm tauri dev
mkdir _out
OUT_DIR="$(pwd)/_out" cargo test --all --all-features
Created by oscartbeaumont and Brendonovich.