#bindings #rocksdb #ffi #native-bindings #api-bindings

sys electrs-librocksdb-sys

Native bindings to librocksdb (electrs fork)

6 releases

6.11.4-e3 Nov 10, 2022
6.11.4-e2 Oct 25, 2021
6.11.4-e1 Sep 18, 2021
0.9.0-e3+7.8.3 Oct 11, 2023
0.9.0-e1+7.8.3 Apr 14, 2023

#2608 in Database interfaces

Download history 234/week @ 2024-01-08 206/week @ 2024-01-15 330/week @ 2024-01-22 286/week @ 2024-01-29 334/week @ 2024-02-05 352/week @ 2024-02-12 419/week @ 2024-02-19 409/week @ 2024-02-26 476/week @ 2024-03-04 492/week @ 2024-03-11 455/week @ 2024-03-18 341/week @ 2024-03-25 445/week @ 2024-04-01 376/week @ 2024-04-08 351/week @ 2024-04-15 508/week @ 2024-04-22

1,721 downloads per month
Used in 3 crates (via electrs-rocksdb)

MIT/Apache-2.0/BSD-3-Clause

21MB
433K SLoC

C++ 264K SLoC // 0.1% comments C 91K SLoC // 0.2% comments Java 32K SLoC // 0.4% comments Visual Studio Project 22K SLoC Python 9K SLoC // 0.1% comments Shell 5K SLoC // 0.2% comments GNU Style Assembly 2K SLoC // 0.3% comments Ada 1.5K SLoC // 0.2% comments Assembly 1.5K SLoC // 0.2% comments Pascal 1K SLoC // 0.2% comments Visual Studio Solution 1K SLoC C# 879 SLoC // 0.4% comments Bitbake 695 SLoC // 0.1% comments INI 433 SLoC // 0.1% comments Rust 386 SLoC // 0.1% comments PowerShell 313 SLoC // 0.2% comments JavaScript 95 SLoC // 0.1% comments Batch 87 SLoC Bazel 41 SLoC // 0.2% comments Automake 34 SLoC ReScript 4 SLoC Forge Config 1 SLoC // 0.8% comments Poke 1 SLoC

Contains (obscure autoconf code, 1KB) zlib/contrib/minizip/configure.ac

RocksDB bindings

Low-level bindings to RocksDB's C API.

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

Dependencies