Crates.io | rapiddb |
lib.rs | rapiddb |
version | 0.1.32 |
source | src |
created_at | 2022-06-20 16:09:30.090515 |
updated_at | 2024-10-17 20:30:28.033578 |
description | A reasonably fast configurable embedded key-value sensor database |
homepage | |
repository | https://github.com/kruserr/rapiddb/ |
max_upload_size | |
id | 609619 |
size | 58,823 |
A reasonably fast configurable embedded key-value sensor database
Cargo.toml
[dependencies]
rapiddb = "0.1"
src/main.rs
use rapiddb::traits::IDatabase;
pub fn main() {
let mut db = rapiddb::db::MMAVDatabase::new();
let value = b"{\"key\": \"value\"}";
db.post("test-0", value);
assert_eq!(db.get_latest("test-0"), value);
}
Run the database with cargo
cargo run --release
Visit further install options.
Visit the Documentation.
Visit the Examples.