Skip to content

specta-rs/tauri-specta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6fe9532 · Mar 13, 2025
Sep 18, 2024
Jan 12, 2025
Aug 17, 2024
Mar 13, 2025
Aug 12, 2024
Aug 12, 2024
Jan 13, 2025
Jan 13, 2025
Nov 6, 2022
Aug 12, 2024
Jan 12, 2025
Jan 12, 2025
Sep 7, 2023

Repository files navigation

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.