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

#432 in WebAssembly

Download history 99/week @ 2024-01-31 61/week @ 2024-02-07 141/week @ 2024-02-14 261/week @ 2024-02-21 142/week @ 2024-02-28 102/week @ 2024-03-06 95/week @ 2024-03-13 106/week @ 2024-03-20 136/week @ 2024-03-27 142/week @ 2024-04-03 100/week @ 2024-04-10 416/week @ 2024-04-17 493/week @ 2024-04-24 268/week @ 2024-05-01 187/week @ 2024-05-08 124/week @ 2024-05-15

1,108 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–33MB
~516K SLoC