#rocksdb #ffi #api-bindings

sys surrealdb-librocksdb-sys

Native bindings to librocksdb

1 unstable release

0.17.3+10.6.2 Oct 31, 2025

#64 in #rocksdb

Download history 383/week @ 2025-10-26 1764/week @ 2025-11-02 1915/week @ 2025-11-09 2568/week @ 2025-11-16 2516/week @ 2025-11-23 4408/week @ 2025-11-30 3299/week @ 2025-12-07

12,909 downloads per month
Used in 12 crates (via surrealdb-rocksdb)

MIT/Apache-2.0/BSD-3-Clause

26MB
544K SLoC

C++ 475K SLoC // 0.1% comments Java 43K SLoC // 0.3% comments Python 14K SLoC // 0.2% comments Shell 4.5K SLoC // 0.2% comments C 3.5K SLoC // 0.0% comments Bazel 1.5K SLoC // 0.2% comments GNU Style Assembly 543 SLoC // 0.1% comments Rust 444 SLoC // 0.1% comments INI 317 SLoC // 0.1% comments PowerShell 313 SLoC // 0.2% comments Bitbake 168 SLoC // 0.2% comments Batch 41 SLoC // 0.1% comments

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 surrealdb-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–4MB
~77K SLoC