#ffi #static-linking #berkeley-db

sys libdb-sys

statically linked ffi bindings for Berkeley DB

2 releases

Uses old Rust 2015

0.1.1 Mar 12, 2020
0.1.0 Mar 11, 2020

#826 in #ffi

38 downloads per month
Used in libdb

Sleepycat

28MB
654K SLoC

C 332K SLoC // 0.2% comments TCL 136K SLoC // 0.2% comments Java 57K SLoC // 0.4% comments Visual Studio Project 38K SLoC C# 26K SLoC // 0.4% comments M4 18K SLoC // 0.2% comments Shell 15K SLoC // 0.2% comments C++ 7.5K SLoC // 0.1% comments Perl 6.5K SLoC // 0.1% comments SWIG 6.5K SLoC // 0.0% comments Visual Studio Solution 4.5K SLoC AWK 4K SLoC // 0.1% comments Prolog 1.5K SLoC SQL 878 SLoC // 0.0% comments D 638 SLoC // 0.4% comments R 392 SLoC Python 190 SLoC // 0.3% comments Rust 113 SLoC // 0.0% comments Batch 112 SLoC // 0.2% comments GNU Style Assembly 52 SLoC Stratego/XT 38 SLoC Bitbake 30 SLoC // 0.2% comments PHP 26 SLoC // 0.4% comments Q 22 SLoC GLSL 18 SLoC

Contains (autotools obfuscated code, 1MB) vendor/db-5.3.21/dist/configure, (autotools obfuscated code, 720KB) vendor/db-4.8.30/dist/configure, (autotools obfuscated code, 98KB) vendor/db-4.8.30/mod_db4/configure, (obscure autoconf code, 35KB) vendor/db-5.3.21/dist/configure.ac, (obscure autoconf code, 28KB) vendor/db-4.8.30/dist/configure.ac

Status

CI crates.io badge docs.rs badge

libdb-sys

Statically linked bindings for Berkeley DB 4.8.x and 5.3.x.

This is a humble fork from jesterpm's libdb-sys.

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.

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.

Dependencies