Skip to content

tauri-store

Persistent stores for Tauri.

Features

  • Save your stores to disk.
  • Synchronize across multiple windows.
  • Debounce or throttle store updates.
  • Access the stores from both JavaScript and Rust.

Framework support

The tauri-store crate is a framework-agnostic backend for store plugins. Currently, the following plugins are available:

Optional features

  • file-sync-all: Calls File::sync_all after writing to the store file. Enabling this can severely degrade performance.
  • unstable-async: Enables async support for the plugin.

Versioning

This crate follows Cargo guidelines for SemVer compatibility.

Experimental features

Cargo features prefixed with unstable- (e.g. unstable-async) are experimental and may introduce breaking changes between patch versions or even be completely removed.

Any questions?

Feel free to start a discussion on the GitHub repository or ask in our Discord server.