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
//! Persistent datastructure

#![deny(missing_docs)]
#[macro_use]
mod collection;

extern crate seahash;
#[macro_use]
extern crate trait_group;

mod stash;
mod tree;
mod html;
mod meta;
mod ops;

use tree::weight::Weight;

trait_group! {
/// A value that can be put into a Collection.
/// Has to be clonable, and have impl the `tree::weight::Weight` trait
    pub trait Val: Weight + Clone
}

pub use collection::Collection;

pub use ops::vector::VectorOps;
pub use ops::map::{MapOps, MapOpsKeySum};
pub use ops::set::{SetOps, SetOpsCheckSum};

pub use meta::Meta;
pub use meta::Max;
pub use meta::CheckSum;
pub use meta::Key;