Crates.io | sled-overlay |
lib.rs | sled-overlay |
version | |
source | src |
created_at | 2023-03-10 14:52:32.608948 |
updated_at | 2024-12-03 12:52:33.652985 |
description | Overlay mechanism for sled |
homepage | |
repository | https://github.com/parazyd/sled-overlay |
max_upload_size | |
id | 806491 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | 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 |
This Rust library serves as a minimal overlay mechanism for the sled embedded database.
This mechanism enables us to simulate changes in a sled database/tree so that keys and values can be dynamically mutated, while avoiding having to change the underlying database. With this, we can perform changes to the sled trees and access the latest changes in-memory, and then only when we're satisfied with the results, we can actually atomically write it into the actual database.
This functionality can also serve as a rollback-like mechanism for sled.
Usage examples are offered in the repository as test units, and docs can be found on docs.rs/sled-overlay.
GNU AGPLv3.