Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mindbeam/toboggan-kv
https://github.com/mindbeam/toboggan-kv
Last synced: 13 days 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 3 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T05:39:11.000Z (over 3 years ago)
- Last Synced: 2024-10-14T11:18:56.994Z (about 1 month ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- 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();
}
```