14 releases (stable)

Uses old Rust 2015

2.0.9 Aug 9, 2021
2.0.8 Oct 6, 2020
2.0.7 Sep 20, 2020
2.0.6 Jun 4, 2020
0.0.2 Jan 9, 2015

#861 in Database interfaces

Download history 9850/week @ 2024-12-09 9194/week @ 2024-12-16 2368/week @ 2024-12-23 2894/week @ 2024-12-30 9425/week @ 2025-01-06 10000/week @ 2025-01-13 8575/week @ 2025-01-20 8869/week @ 2025-01-27 11471/week @ 2025-02-03 11680/week @ 2025-02-10 10083/week @ 2025-02-17 10998/week @ 2025-02-24 10790/week @ 2025-03-03 13149/week @ 2025-03-10 11770/week @ 2025-03-17 12303/week @ 2025-03-24

48,241 downloads per month
Used in 26 crates (7 directly)

MIT license

1.5MB
20K SLoC

C++ 20K SLoC // 0.1% comments C 331 SLoC // 0.0% comments Rust 188 SLoC // 0.2% 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