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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#![doc = include_str!("./crate-docs.md")]
#![forbid(unsafe_code)]
#![warn(
clippy::cargo,
missing_docs,
clippy::nursery,
clippy::pedantic,
future_incompatible,
rust_2018_idioms,
)]
#![cfg_attr(doc, deny(rustdoc::all))]
#![allow(
clippy::missing_errors_doc,
clippy::option_if_let_else,
clippy::module_name_repetitions,
)]
#[macro_use]
pub mod io;
mod error;
mod roots;
pub mod transaction;
pub mod tree;
mod vault;
mod chunk_cache;
mod context;
#[cfg(test)]
mod test_util;
pub use arc_bytes::ArcBytes;
pub use self::{
chunk_cache::ChunkCache,
context::Context,
error::{Error, ErrorKind},
roots::{
AbortError, CompareAndSwapError, Config, ExecutingTransaction, LockedTransactionTree,
Roots, ThreadPool, TransactionTree, Tree, UnlockedTransactionTree,
},
vault::Vault,
};