Crates.io | data-pile |
lib.rs | data-pile |
version | 0.6.1 |
source | src |
created_at | 2020-07-22 08:10:34.535351 |
updated_at | 2021-03-09 16:40:30.108458 |
description | A simple and fast append-only data store |
homepage | https://github.com/eugene-babichenko/data-pile |
repository | https://github.com/eugene-babichenko/data-pile |
max_upload_size | |
id | 267966 |
size | 36,425 |
pile
- a simple and fast append-only data storeuse data_pile::Database;
let db = Database::file("./pile").unwrap();
let value = b"some data";
db.put(&value).unwrap();
Values are accessible only by their sequential numbers. You will need an external index if you want any other kind of keys.