Crates.io | crepedb-redb |
lib.rs | crepedb-redb |
version | 0.1.2 |
source | src |
created_at | 2024-08-18 11:35:06.895888 |
updated_at | 2024-08-18 12:46:00.007159 |
description | An versioned and forkable embedded Key-Value database. |
homepage | |
repository | https://github.com/tiannian/crepedb |
max_upload_size | |
id | 1342559 |
size | 8,483 |
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);