#![deny(warnings)]
#![cfg_attr(test, allow(warnings))]
#![recursion_limit = "512"]
#[macro_use]
pub mod common;
pub mod basic;
pub mod dagmap;
pub mod versioned;
pub mod slotdex;
pub mod trie;
pub mod vecdex;
pub use basic::{
mapx::Mapx, mapx_ord::MapxOrd, mapx_ord_rawkey::MapxOrdRawKey, orphan::Orphan,
};
pub use common::{
NULL,
ende::{KeyEnDe, KeyEnDeOrdered, ValueEnDe},
};
pub use common::error::{Result as VsdbResult, VsdbError};
pub use versioned::diff::DiffEntry;
pub use versioned::handle::{Branch, BranchMut};
pub use versioned::map::VerMap;
pub use versioned::{BranchId, Commit, CommitId, NO_COMMIT};
pub use dagmap::{DagMapId, raw::DagMapRaw, rawkey::DagMapRawKey};
pub use trie::{MptCalc, MptProof, SmtCalc, SmtProof, TrieCalc, VerMapWithProof};
pub use slotdex::{SlotDex32, SlotDex64 as SlotDex, SlotDex64, SlotDex128, SlotType};
pub use vecdex::distance::{Cosine, DistanceMetric, InnerProduct, L2, Scalar};
pub use vecdex::{
HnswConfig, VecDex, VecDexCosine, VecDexCosineF64, VecDexL2, VecDexL2F64,
};
pub use vsdb_core;
pub use vsdb_core::{vsdb_flush, vsdb_get_base_dir, vsdb_set_base_dir};
pub use basic::persistent_btree::PersistentBTree;