1 stable release

1.0.0 Jan 9, 2024

#2464 in Database interfaces


Used in 2 crates (via cruzbit-leveldb)

MIT license

1.5MB
22K SLoC

C++ 21K SLoC // 0.1% comments C 329 SLoC // 0.0% comments Rust 256 SLoC // 0.1% comments Bazel 101 SLoC // 0.5% comments

leveldb-sys

Lowlevel bindings to the leveldb C library.

Dependencies

  • Your platforms C++ compiler (usually gcc or clang on Linux and Unix, Visual Studio Build environment on Windows)
  • cmake

Usage

If your project is using Cargo, drop the following lines in your Cargo.toml:

[dependencies]

leveldb-sys = "*"

Features

levelbd-sys offers a snappy feature to build the snappy library.

LICENSE

MIT

BSD support

To build leveldb-sys you need to install gmake (GNU Make)

Dependencies