#rocksdb #ffi #bindings

sys rust-librocksdb-sys

Native bindings to librocksdb

27 releases (breaking)

new 0.36.0+10.1.3 Apr 19, 2025
0.34.0+9.11.2 Mar 31, 2025
0.31.0+9.9.3 Dec 17, 2024
0.29.0+9.7.4 Nov 1, 2024
0.19.2+9.0.0 Mar 30, 2024

#2910 in Database interfaces

Download history 454/week @ 2024-12-27 1683/week @ 2025-01-03 1550/week @ 2025-01-10 1178/week @ 2025-01-17 1420/week @ 2025-01-24 1807/week @ 2025-01-31 1828/week @ 2025-02-07 1949/week @ 2025-02-14 2099/week @ 2025-02-21 2238/week @ 2025-02-28 2032/week @ 2025-03-07 2147/week @ 2025-03-14 1614/week @ 2025-03-21 432/week @ 2025-03-28 280/week @ 2025-04-04 430/week @ 2025-04-11

3,147 downloads per month
Used in 4 crates (via rust-rocksdb)

MIT/Apache-2.0/BSD-3-Clause

23MB
476K SLoC

C++ 415K SLoC // 0.1% comments Java 43K SLoC // 0.3% comments Python 8K SLoC // 0.1% comments Shell 4K SLoC // 0.2% comments C 3.5K SLoC // 0.0% comments GNU Style Assembly 543 SLoC // 0.1% comments Rust 464 SLoC // 0.1% comments INI 317 SLoC // 0.1% comments PowerShell 313 SLoC // 0.2% comments Bitbake 168 SLoC // 0.2% comments Bazel 123 SLoC // 0.5% comments BASH 19 SLoC

RocksDB bindings

Low-level bindings to RocksDB's C API.

Based on the original work by Tyler Neely https://github.com/rust-rocksdb/rust-rocksdb and Jeremy Fitzhardinge https://github.com/jsgf/rocksdb-sys

Version

The librocksdb-sys version number is in the format X.Y.Z+RX.RY.RZ, where X.Y.Z is the version of this crate and follows SemVer conventions, while RX.RY.RZ is the version of the bundled rocksdb.

Dependencies

~0–4.5MB
~79K SLoC