User Guide¶
Everything you need to start writing Tauri 2.x desktop apps with ReScript.
Getting Started¶
Installation — Add
@rescript-tauri/coreto a Tauri projectQuick Start — Try the 3-layer IPC API in a minimal example
Reference¶
Configuration —
rescript.json,peerDependencies, compatibility matrixChangelog — Release notes
Modules at a glance¶
@rescript-tauri/core ships with 12 Phase-1 modules plus a curated
Tauri umbrella for the most common imports. Each module has its
own .resi and a doc-comment line linking to the matching Tauri
upstream page.
Module |
Purpose |
|---|---|
|
|
|
IPC bridge — |
|
Pub/sub event bus ( |
|
Window class — opaque handle + ~80 instance / static methods, full type set (theme, cursorIcon, effects, monitor, …) |
|
Webview class — opaque handle + 14 instance methods + drag-and-drop event variant |
|
Combined Window + Webview surface; zero-cost |
|
Application menu hierarchy ( |
|
System tray icon ( |
|
Path utilities — 31 helpers + |
|
Application metadata + lifecycle ( |
|
RGBA-image opaque handle ( |
|
DPI-aware size and position ( |
|
Test helpers ( |
Add-on packages¶
Nine add-on packages build on the core. Each ships independently
and pulls the matching upstream plugin / schema library through
peerDependencies.
Package |
Purpose |
Guide |
|---|---|---|
|
Filesystem operations (read / write / dir / stat) |
|
|
Native dialogs (open / save / message / ask / confirm) |
|
|
Native notifications (toast / schedule / channels) |
|
|
Spawn child processes, open URLs / files with the OS default |
|
|
Structured logging (5 levels + log-stream listeners) |
|
|
OS info (platform / arch / family / locale / hostname) |
|
|
Clipboard read/write (text / image / HTML) |
|
|
HTTP fetch with CORS bypass + proxy / TLS config |
|
|
Layer 3 typed IPC via |