#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

#2555 in Database interfaces

Download history 310/week @ 2023-12-04 353/week @ 2023-12-11 357/week @ 2023-12-18 236/week @ 2023-12-25 363/week @ 2024-01-01 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

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

MIT/Apache-2.0/BSD-3-Clause

20MB
423K SLoC

C++ 259K SLoC // 0.1% comments C 92K SLoC // 0.2% comments Java 27K SLoC // 0.4% comments Visual Studio Project 22K SLoC Python 8K SLoC // 0.2% 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 Objective-C 12 SLoC ReScript 4 SLoC Poke 1 SLoC Forge Config 1 SLoC // 0.8% comments

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