1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2020 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

//! A general purpose storage backend crate with key value abstraction API.
//!
//! # Features
//!
//! ## Access implementation:
//! - Traits contracts which define the general purpose database operations such as (insert, fetch, ...);
//! ## Backend implementation:
//! - Trait contract to start and shutdown backends;
//! - Configuration and associated builder to configure different backends;
//!
//! This crate tries to simplify the implementation of various storage backends and provides unified access API for the
//! application/user space.

#![deny(missing_docs)]
#![deny(warnings)]

/// Access module which form the access layer of the backend which holds the contract of unified database access
/// operations across all the backends and bee types.
pub mod access;
/// Backend module which form the backend layer of the backend which holds the contract of starting and shutting down
// the backend.
pub mod backend;