siamesedb
The simple local key-value store.
Features
- key-value store.
- in-memory and file store.
DbMapStringhas keys as utf-8 string.DbMapU64has keys as u64.- The value is any bytes included utf-8 string.
- The file store is implemented the basic B-Tree. (no hash and no leaf)
- Small db file size.
- Separated files. (data record file and index file)
- One database has some db-map-string and some db-map-u64.
- minimum support rustc rustc 1.53.0 (53cb7b09b 2021-06-17)
Compatibility
- Nothing?
Examples
Example DbMapString:
use ;
Example DbMapU64:
use ;
Changelogs
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.