commonware_storage/
lib.rs

1//! Persist and retrieve data from an abstract store.
2//!
3//! # Status
4//!
5//! `commonware-storage` is **ALPHA** software and is not yet recommended for production use. Developers should
6//! expect breaking changes and occasional instability.
7
8#![doc(
9    html_logo_url = "https://commonware.xyz/imgs/rustdoc_logo.svg",
10    html_favicon_url = "https://commonware.xyz/favicon.ico"
11)]
12#![cfg_attr(not(feature = "std"), no_std)]
13
14extern crate alloc;
15pub mod mmr;
16
17cfg_if::cfg_if! {
18    if #[cfg(feature = "std")] {
19        pub mod qmdb;
20        pub mod archive;
21        mod bitmap;
22        pub use bitmap::{BitMap as AuthenticatedBitMap, CleanBitMap as CleanAuthenticatedBitMap, DirtyBitMap as DirtyAuthenticatedBitMap};
23        pub mod bmt;
24        pub mod cache;
25        pub mod freezer;
26        pub mod index;
27        pub mod journal;
28        pub mod metadata;
29        pub mod ordinal;
30        pub mod rmap;
31        pub mod store;
32        pub mod translator;
33    }
34}