workflow_store/
lib.rs

1//!
2//! [<img alt="github" src="https://img.shields.io/badge/github-workflow--rs-8da0cb?style=for-the-badge&labelColor=555555&color=8da0cb&logo=github" height="20">](https://github.com/workflow-rs/workflow-rs)
3//! [<img alt="crates.io" src="https://img.shields.io/crates/v/workflow-store.svg?maxAge=2592000&style=for-the-badge&color=fc8d62&logo=rust" height="20">](https://crates.io/crates/workflow-store)
4//! [<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-workflow--store-56c2a5?maxAge=2592000&style=for-the-badge&logo=docs.rs" height="20">](https://docs.rs/workflow-store)
5//! <img alt="license" src="https://img.shields.io/crates/l/workflow-store.svg?maxAge=2592000&color=6ac&style=for-the-badge&logoColor=fff" height="20">
6//! <img src="https://img.shields.io/badge/platform- wasm32/browser -informational?style=for-the-badge&color=50a0f0" height="20">
7//! <img src="https://img.shields.io/badge/platform- wasm32/node.js -informational?style=for-the-badge&color=50a0f0" height="20">
8//!
9//! This crate provides an abstraction layer for storing and loading
10//! data in different environments: File I/O on desktop devices and
11//! local storage when running in the browser.  The goal behind this
12//! crate is to allow for a single initialization-phase configuration,
13//! following which the API can be used throughout the application
14//! without the concern about the operating environment.
15//!
16//!
17use cfg_if::cfg_if;
18cfg_if! {
19    if #[cfg(not(target_arch = "bpf"))] {
20        pub mod prelude;
21        pub mod error;
22        pub mod result;
23        pub mod fs;
24        pub mod store;
25    }
26}