#local-storage #browser

workflow-store

File storage access crate abstracting file I/O and browser localstorage

35 releases (14 breaking)

0.18.0 Sep 7, 2024
0.15.0 Jul 26, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.3.12 Mar 11, 2023

#1917 in WebAssembly

Download history 320/week @ 2025-10-30 477/week @ 2025-11-06 423/week @ 2025-11-13 374/week @ 2025-11-20 341/week @ 2025-11-27 343/week @ 2025-12-04 419/week @ 2025-12-11 739/week @ 2025-12-18 441/week @ 2025-12-25 726/week @ 2026-01-01 656/week @ 2026-01-08 1010/week @ 2026-01-15 845/week @ 2026-01-22 648/week @ 2026-01-29 1324/week @ 2026-02-05 733/week @ 2026-02-12

3,655 downloads per month
Used in 8 crates (4 directly)

MIT/Apache

315KB
7K SLoC

workflow-store

Part of the workflow-rs application framework.


File I/O abstraction that supports browser localstorage.

github crates.io docs.rs license

Features

  • A single set of per-operating-system filename configuration options with fallbacks. (i.e. filename for macos or linux will fallback on unix or generic if not defined)
  • Automatic resolution of user home-folder is using ~ as a path prefix.
  • Support for in-browser storage using localstorage and base64 encoding for binary data.

This crate allows you to create a single file reference while specifying multiple per-operating-system file paths, including in-browser localstorage keyname. Subsequent read/write operations will work against the specified paths.

Dependencies

~17–35MB
~544K SLoC