https://github.com/tikv/client-cpp
TiKV Client for C++
https://github.com/tikv/client-cpp
Last synced: 3 months ago
JSON representation
TiKV Client for C++
- Host: GitHub
- URL: https://github.com/tikv/client-cpp
- Owner: tikv
- License: apache-2.0
- Created: 2021-01-04T09:08:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T06:40:34.000Z (about 2 years ago)
- Last Synced: 2025-04-22T23:39:06.277Z (8 months ago)
- Language: Rust
- Homepage:
- Size: 81.1 KB
- Stars: 14
- Watchers: 12
- Forks: 13
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TiKV Client for C++
TiKV client for C++. So far, it only supports synchronous API.
It's built on top of
[TiKV Client in Rust](https://github.com/tikv/client-rust) via [cxx](https://github.com/dtolnay/cxx).
This client is still in the stage of prove-of-concept and under heavy development.
## Prepare
```bash
# install rust environment
curl https://sh.rustup.rs -sSf | sh
```
## Build
```bash
## compile in build directory
cmake -S . -B build && cmake --build build
## install to /usr/local
sudo cmake --install build
```
## Run example
```bash
# run with tikv-server
tiup playground nightly
cd examples && cmake -S . -B build && cmake --build build
# run raw example
./build/raw
```