Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 697 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 697 Bytes

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 via cxx.

This client is still in the stage of prove-of-concept and under heavy development.

Prepare

# install rust environment
curl https://sh.rustup.rs -sSf | sh

Build

## compile in build directory
cmake -S . -B build && cmake --build build
## install to /usr/local
sudo cmake --install build

Run example

# run with tikv-server
tiup playground nightly

cd examples && cmake -S . -B build && cmake --build build
# run raw example
./build/raw