5 releases
new 0.2.0 | Dec 21, 2024 |
---|---|
0.2.0-alpha.1 | Dec 20, 2024 |
0.1.2-alpha.1 | Dec 16, 2024 |
0.1.1 | Dec 16, 2024 |
0.1.0 | Dec 11, 2024 |
#951 in Parser implementations
398 downloads per month
Used in caesura
32KB
675 lines
flat_db
A basic flat file database implementation for Rust.
-
Supports any struct serializable by serde.
-
Keys are hexidecimal hashes.
-
Multiple items can be grouped per file to minimize I/O.
-
YAML
is the default file format but could easily be switched toJSON
. -
Database files are easily commited backed up, restored etc with git.
-
Database files are easily read with
jq
oryq
. -
Simple lock file mechanism protects data during writes.
Releases and Changes
Releases and a full changelog are available via GitHub Releases.
Release versions follow the Semantic Versioning 2.0.0 specification.
Commit messages follow the Conventional commit specification.
Dependencies
~7–16MB
~199K SLoC