Crates.io | crepedb |
lib.rs | crepedb |
version | 0.1.2 |
source | src |
created_at | 2024-08-18 11:34:02.748112 |
updated_at | 2024-08-18 12:45:48.742158 |
description | An versioned and forkable embedded Key-Value database. |
homepage | |
repository | https://github.com/tiannian/crepedb |
max_upload_size | |
id | 1342558 |
size | 33,092 |
An versioned and forkable embedded Key-Value database.
For now, CrepeDB supports these backend:
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.
use crepedb::CrepeDB;
use crepedb_redb::RedbDatabase;
let backend = RedbDatabase::memory().unwarp();
let db = CrepeDB::new(backend);