Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typesend/tigerbeetle-rust
https://github.com/typesend/tigerbeetle-rust
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/typesend/tigerbeetle-rust
- Owner: typesend
- License: apache-2.0
- Created: 2022-10-26T10:55:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T14:00:02.000Z (7 months ago)
- Last Synced: 2024-04-23T20:53:56.968Z (7 months ago)
- Language: C
- Size: 1.1 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tigerbeetle-rust
[TigerBeetle](https://github.com/tigerbeetledb/tigerbeetle) client for Rust._Under Construction_
## Development Setup
*Prerequisites:*
- rustc 1.62.1 (or possibly as early as 1.13, your mileage may vary)
- zig 0.9.1```sh
# Step 1 - Pull tigerbeetle
git submodule init
git submodule update# Step 2 - Download zig (optional)
# NOTE: (cd ...) only changes directly for the inner command
(cd ./tigerbeetle && ./scripts/install_zig.sh)# Step 3 - Build tb_client for your platform and use it in rust
TB_TARGET=x86_64-linux
(cd ./tigerbeetle && zig/zig build tb_client -Drelease-safe -Dtarget=$TB_TARGET)
cp ./tigerbeetle/zig-out/libtb_client.a ./pkg/native/$TB_TARGET/libtb_client.a
cp ./tigerbeetle/src/c/tb_client.h ./pkg/native/tb_client.h# Step 3.5 - Build tigerbeetle binary for `cargo test`
(cd ./tigerbeetle && zig/zig build -Drelease-safe -Dtarget=$TB_TARGET)
cp ./tigerbeetle/zig-out/bin/tigerbeetle ./pkg/native/$TB_TARGET/tigerbeetle# Step 4 - Build and test tigerbeetle-rust
cargo test
```## Other clients and documentation
- [Tigerbeetle Node Client](https://github.com/tigerbeetledb/tigerbeetle-node)
- [TigerBeetle Go Client](https://github.com/tigerbeetledb/tigerbeetle-go)