tauri-specta

Crates.iotauri-specta
lib.rstauri-specta
version2.0.0-rc.20
sourcesrc
created_at2022-11-30 15:53:09.693878
updated_at2024-09-18 12:17:19.003034
descriptionCompletely typesafe Tauri commands
homepage
repositoryhttps://github.com/oscartbeaumont/tauri-specta
max_upload_size
id726253
size53,955
Brendan Allan (Brendonovich)

documentation

https://docs.rs/tauri-specta/latest/tauri-specta

README

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.

Commit count: 167

cargo fmt