Crates.io | flat_db |
lib.rs | flat_db |
version | |
source | src |
created_at | 2024-12-11 22:08:47.189598 |
updated_at | 2024-12-11 22:08:47.189598 |
description | Flat file database |
homepage | |
repository | https://github.com/RogueOneEcho/flat_db |
max_upload_size | |
id | 1480571 |
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` |
size | 0 |
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 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.