crossbank 0.1.2

Local, on-device key/value storage for Rust — one API on native (redb) and in the browser (IndexedDB). A Hive-shaped replacement, with no network, server, or sync.
Documentation
//! Storage backends.
//!
//! Gating and re-exports only — no working code lives here.

pub mod api;
#[cfg(target_arch = "wasm32")]
pub mod indexeddb;
pub mod memory;
#[cfg(not(target_arch = "wasm32"))]
pub mod redb;

pub use api::{
    BFut, Backend, CommitOptions, Durability, KeyRange, MaybeSend, MaybeSync, Op, ScanPage,
    ScanRequest, Table, Usage, DEFAULT_SCAN_PAGE,
};
#[cfg(target_arch = "wasm32")]
pub use indexeddb::IndexedDbBackend;
pub use memory::MemoryBackend;
#[cfg(not(target_arch = "wasm32"))]
pub use redb::RedbBackend;