> [!NOTE]
> This branch contains tauri-specta v2, you can checkout the git tag [v1.0.2](https://github.com/oscartbeaumont/tauri-specta/tree/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](https://docs.rs/tauri-specta/%5E1.0.2/tauri_specta/index.html) | Unsupported |
| Specta v2 | Unsupported | Tauri Specta v2 [docs](https://docs.rs/tauri-specta/^2.0.0-rc.11/tauri_specta/index.html) |
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:
```bash
pnpm i
cd examples/app/
pnpm tauri dev
```
### Running tests
```bash
mkdir _out
OUT_DIR="$(pwd)/_out" cargo test --all --all-features
```
## Credit
Created by [oscartbeaumont](https://github.com/oscartbeaumont) and [Brendonovich](https://github.com/brendonovich).