Crate workflow_store

source ·
Expand description

github crates.io docs.rs license

This crate provides an abstraction layer for storing and loading data in different environments: File I/O on desktop devices and local storage when running in the browser. The goal behind this crate is to allow for a single initialization-phase configuration, following which the API can be used throughout the application without the concern about the operating environment.

Re-exports

  • pub use crate::fs;
  • pub use crate::store;

Modules

  • Errors produced by this crate.
  • File system abstraction layer. Currently supporting storage on the filesystem and the browser domain-associated local storage (Web Storage API).
  • Result type alias