armour 0.30.27

DDL and serialization for key-value storage
Documentation
use crate::Entry;

pub mod builder;
pub mod db;
pub mod events;
pub mod helpers;
pub mod raw;
pub mod read;
pub mod tree;

pub use helpers::*;
pub use raw::RawTree;
pub use read::ReadTree;

pub type ByteValue = fjall::Slice;
pub type KeyValue = (ByteValue, ByteValue);
type GroupBound = std::ops::Bound<[u8; 4]>;
pub type ItemWithRaw<Item> = (ByteValue, ByteValue, Entry<Item>);

pub enum MaybeParIter {
    Seq,
    Par(rayon::vec::IntoIter<(GroupBound, GroupBound)>),
    Empty,
}