Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mindbeam/toboggan-kv


https://github.com/mindbeam/toboggan-kv

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

# toboggan-kv

Sled-flavored KV abstraction layer

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

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

fn braap( store: T ){
let beasts = store.open_tree("beasts").unwrap();
beasts.insert("meow", "cat").unwrap();
}
```