crepedb-redb

Crates.iocrepedb-redb
lib.rscrepedb-redb
version0.1.2
sourcesrc
created_at2024-08-18 11:35:06.895888
updated_at2024-08-18 12:46:00.007159
descriptionAn versioned and forkable embedded Key-Value database.
homepage
repositoryhttps://github.com/tiannian/crepedb
max_upload_size
id1342559
size8,483
(tiannian)

documentation

README

CrepeDB

An versioned and forkable embedded Key-Value database.

Supported Features

  • Create shopshots based on any snapshot.
  • Read data based on any snapshot.
  • All snapshots are organized into this tree.
  • Table can be Versioned and Basic(No snapshot).
  • Versioned and Basic table at one transaction.
  • High-performance reads and inserts
  • Multi backend support.
  • Provide tools for analyzing databases, migrating, and managing data.

backends

For now, CrepeDB supports these backend:

  • redb
  • mdbx
  • sled
  • rocksdb
  • leveldb

Usage

Crates

If you want to use this crate, please add crepedb and a backend what you want to use.

cargo add crepedb 
cargo add crepedb-redb # replace backend crate you want to use.

Usage

use crepedb::CrepeDB;
use crepedb_redb::RedbDatabase;

let backend = RedbDatabase::memory().unwarp();
let db = CrepeDB::new(backend);
Commit count: 0

cargo fmt