tilper

Crates.iotilper
lib.rstilper
version0.0.3
sourcesrc
created_at2022-03-14 23:01:22.548157
updated_at2022-03-15 23:32:06.24871
descriptionA Simple NoSQL Database Written in Rust.
homepage
repositoryhttps://github.com/pedroall/tilper
max_upload_size
id550228
size3,718
(pedroall)

documentation

README

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
}
Commit count: 8

cargo fmt