3 releases
0.0.3 | Mar 15, 2022 |
---|---|
0.0.2 | Mar 15, 2022 |
0.0.1 | Mar 14, 2022 |
#2579 in Database interfaces
4KB
67 lines
Commands
Install
cargo install tilper
Test
cargo test
Example
Creating a database and passing some values
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
}