https://github.com/mindbeam/toboggan-kv
https://github.com/mindbeam/toboggan-kv
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mindbeam/toboggan-kv
- Owner: mindbeam
- License: apache-2.0
- Created: 2021-02-23T05:35:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T05:39:11.000Z (over 5 years ago)
- Last Synced: 2025-05-13T20:37:02.179Z (about 1 year ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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();
}
```