#native-bindings #tigerbeetle #client

sys tigerbeetle-unofficial-sys

Native bindings to the tigerbeetle library

7 releases

0.4.1+0.15.3 Jul 28, 2024
0.4.0+0.15.3 Jul 13, 2024
0.3.0+0.13.133 Sep 26, 2023
0.2.4+0.13.123 Sep 1, 2023
0.2.1+0.13.71 Jul 18, 2023

#1023 in Procedural macros


Used in 2 crates (via tigerbeetle-unofficial-co…)

MIT/Apache

4.5MB
87K SLoC

Zig 69K SLoC // 0.1% comments Java 6.5K SLoC // 0.2% comments C# 3.5K SLoC // 0.1% comments Go 3.5K SLoC // 0.1% comments JavaScript 1K SLoC // 0.1% comments TypeScript 1K SLoC // 0.3% comments Rust 604 SLoC Shell 322 SLoC // 0.2% comments C 285 SLoC // 0.1% comments HCL 147 SLoC // 0.3% comments Batch 84 SLoC // 0.2% comments Visual Studio Solution 34 SLoC PowerShell 24 SLoC

tigerbeetle-rs

Unofficial tigerbeetle bindings for Rust.

Status

Because this tigerbeetle client library implementation is not a part of the official tigerbeetle repo, it is hard to ensure and keep some of rust safety guarantees from the outside. For that reason I invite people to contribute to this repo or finally develop the official rust client library.

Repo Overview

The repository hosts the following libraries:

  • Crates.io docs.rs - Safe high-level async bindings. Implemented with #![forbid(unsafe_code)] upon tigerbeetle-unofficial-core.
  • Crates.io docs.rs - Safe low-level callback-based async bindings.
  • Crates.io docs.rs - Unsafe native bindings.

License

This project is licensed under either of

at your option.

Dependencies

~0.4–4.5MB
~85K SLoC