flat_db

Crates.ioflat_db
lib.rsflat_db
version0.3.0
created_at2024-12-11 22:08:47.189598+00
updated_at2025-01-17 18:31:18.753521+00
descriptionFlat file database
homepage
repositoryhttps://github.com/RogueOneEcho/flat_db
max_upload_size
id1480571
size66,676
(RogueOneEcho)

documentation

README

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.

Commit count: 10

cargo fmt