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
26
#![allow(clippy::drop_non_drop)]

pub use db::{Database, DatabaseBuilder, MultimapTableDefinition, TableDefinition};
pub use error::Error;
pub use multimap_table::{
    MultimapRangeIter, MultimapTable, MultimapValueIter, ReadOnlyMultimapTable,
    ReadableMultimapTable,
};
pub use table::{RangeIter, ReadOnlyTable, ReadableTable, Table};
pub use transactions::{DatabaseStats, Durability, ReadTransaction, WriteTransaction};
pub use tree_store::AccessGuard;

type Result<T = (), E = Error> = std::result::Result<T, E>;

#[cfg(feature = "python")]
pub use crate::python::redb;

mod db;
mod error;
mod multimap_table;
#[cfg(feature = "python")]
mod python;
mod table;
mod transactions;
mod tree_store;
mod types;