Crates.io | tilper |
lib.rs | tilper |
version | 0.0.3 |
source | src |
created_at | 2022-03-14 23:01:22.548157 |
updated_at | 2022-03-15 23:32:06.24871 |
description | A Simple NoSQL Database Written in Rust. |
homepage | |
repository | https://github.com/pedroall/tilper |
max_upload_size | |
id | 550228 |
size | 3,718 |
cargo install tilper
cargo test
use tilper::db::{Database};
fn main() {
let mut db = Database::new();
let data = db
.set("foo".to_string(), "bar".to_string()).unwrap()
.get("foo").unwrap();
assert_eq!("far", data); // Panic
}