Back to Browse

Specta and Typescript Type Generation In Tauri

300 views
Streamed live on Jun 10, 2025
1:55:52

In the Tauri ecosystem, there is a lovely package called tauri-specta which assists in generating a webview / frontend client to match your Rust commands. Let's dig into this crate and see how it is implement. There is a low-key end goal here where it would be interesting to enable this in the WASM space, and with wasm-bindgen. This calls back to our stream last week where we dived into wasm-bindgen and serde in the Cooklang crates. It would be a great experience to use specta there. #live #rust #wasm #specta #tauri #cooklang Chapters 00:00:00 Setting The Stage 00:04:30 Cooklang PR 00:16:35 What Is Specta-rs 00:35:43 `specta-wasm-bindgen` 00:39:27 `tauri-specta` Overview 00:56:31 Dig Into `tauri-specta` Integration 01:29:21 `tauri-specta` vs `specta-wasm-bindgen` 01:47:58 Dioxus Components With Shadcn 01:50:52 Next Time

Download

1 formats

Video Formats

360pmp4236.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Specta and Typescript Type Generation In Tauri | NatokHD