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 1.54.0 (a178d0322 2021-07-26)
Compatibility
- Nothing?
Examples
Example DbMapString:
use DbMapString;
Example DbMapU64:
use DbMapU64;
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.