Skip to content

jelmer/tdb-rs

Repository files navigation

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());

About

Rust bindings for TDB

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages