8 releases

new 0.3.0 Jan 17, 2025
0.2.0 Dec 21, 2024
0.1.2-alpha.1 Dec 16, 2024

#1098 in Parser implementations

Download history 155/week @ 2024-12-08 373/week @ 2024-12-15 49/week @ 2024-12-22 1/week @ 2024-12-29 55/week @ 2025-01-05 300/week @ 2025-01-12

515 downloads per month
Used in 2 crates

AGPL-3.0-only

33KB
694 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 to JSON.

  • Database files are easily commited backed up, restored etc with git.

  • Database files are easily read with jq or yq.

  • 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
~198K SLoC