toboggan-kv

Crates.iotoboggan-kv
lib.rstoboggan-kv
version0.1.2
sourcesrc
created_at2021-02-23 05:36:50.448445
updated_at2021-02-23 05:39:25.021962
descriptionToboggan-kv is an abstraction layer over multiple KV stores
homepage
repositoryhttps://github.com/mindbeam/toboggan-kv
max_upload_size
id359319
size24,840
Daniel (dnorman)

documentation

README

toboggan-kv

Sled-flavored KV abstraction layer

let bta = BTreeAdapter::new();
braap(bta);

let tmpdir = tempfile::tempdir().unwrap();
let sa = SledAdapter::open(tmpdir.path()).unwrap();
braap(sa);

fn braap<T:Toboggan>( store: T ){
    let beasts = store.open_tree("beasts").unwrap();
    beasts.insert("meow", "cat").unwrap();
}
Commit count: 4

cargo fmt