trivialdb

Crates.iotrivialdb
lib.rstrivialdb
version0.1.8
sourcesrc
created_at2023-06-12 01:02:30.308654
updated_at2024-09-24 14:35:33.823652
descriptionRust bindings for the TDB database library
homepagehttps://github.com/jelmer/tdb-rs
repositoryhttps://github.com/jelmer/tdb-rs.git
max_upload_size
id887659
size48,739
Jelmer Vernooij (jelmer)

documentation

https://docs.rs/trivialdb

README

Rust bindings for TDB

This rust crate provides idiomatic Rust bindings for the Trivial Database (TDB) library.

See the TDB homepage for more details.

Example

use trivialdb::{Tdb,Flags};

let mut tdb = Tdb::memory(None, Flags::empty()).unwrap();

tdb.store(b"key", b"value", None).unwrap();
assert_eq!(Some(b"value".to_vec()), tdb.fetch(b"key").unwrap());
Commit count: 77

cargo fmt