flat_db

Crates.ioflat_db
lib.rsflat_db
version
sourcesrc
created_at2024-12-11 22:08:47.189598
updated_at2024-12-11 22:08:47.189598
descriptionFlat file database
homepage
repositoryhttps://github.com/RogueOneEcho/flat_db
max_upload_size
id1480571
Cargo.toml error:TOML parse error at line 26, column 1 | 26 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(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: 2

cargo fmt