26 releases (9 breaking)

0.12.1 Apr 27, 2024
0.11.1 Apr 19, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.3.12 Mar 11, 2023

#445 in WebAssembly

Download history 453/week @ 2024-01-22 75/week @ 2024-01-29 79/week @ 2024-02-05 148/week @ 2024-02-12 197/week @ 2024-02-19 206/week @ 2024-02-26 61/week @ 2024-03-04 138/week @ 2024-03-11 69/week @ 2024-03-18 138/week @ 2024-03-25 139/week @ 2024-04-01 129/week @ 2024-04-08 349/week @ 2024-04-15 522/week @ 2024-04-22 247/week @ 2024-04-29 222/week @ 2024-05-06

1,350 downloads per month
Used in 8 crates (4 directly)

MIT/Apache

300KB
6.5K 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

~18–32MB
~507K SLoC