26 releases (9 breaking)

new 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

#130 in WebAssembly

Download history 375/week @ 2024-01-05 203/week @ 2024-01-12 469/week @ 2024-01-19 140/week @ 2024-01-26 91/week @ 2024-02-02 112/week @ 2024-02-09 127/week @ 2024-02-16 270/week @ 2024-02-23 96/week @ 2024-03-01 138/week @ 2024-03-08 79/week @ 2024-03-15 104/week @ 2024-03-22 157/week @ 2024-03-29 133/week @ 2024-04-05 101/week @ 2024-04-12 379/week @ 2024-04-19

786 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–35MB
~527K SLoC