Status
libdb-rs
Statically linked rust bindings for Berkeley DB.
This is a humble fork from jesterpm's libdb-rs.
Features
v4_8
uses bindings for Berkeley DB 4.8.x.
v5_3
uses bindings for Berkeley DB 5.3.x.
By default, Berkeley DB 5.3.x is used.
Example
extern crate libdb;
let env = new
.flags
.open
.unwrap;
let txn = env.txn.unwrap;
let db = new
.environment
.transaction
.db_type
.flags
.open
.unwrap;
txn.commit.expect;
let mut key = String from.into_bytes;
let mut value = String from.into_bytes;
db.put.expect;
let result = db.get.unwrap;
println!;
crev
This crate has its author's crev review.
It is recommended to always use cargo-crev to verify the trustworthiness of each of your dependencies, including this one.
Berkeley DB licensing notice
Website: http://www.oracle.com/database/berkeley-db/
License: Sleepycat
Description:
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
provides embedded database support for both traditional and
client/server applications. The Berkeley DB includes B+tree, Extended
Linear Hashing, Fixed and Variable-length record access methods,
transactions, locking, logging, shared memory caching, and database
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
used by many applications, including Python and Perl, so this should
be installed on all systems.