/client-cpp

TiKV Client for C++

Primary LanguageC++Apache License 2.0Apache-2.0

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.

Build

# cxxbridge-cmd 1.0.18 requires rustc 1.48+ and c++17 or newer
cargo install cxxbridge-cmd --force --version 1.0.18
make

Then the library will be in target/debug/libtikv_client.a.

Otherwise, you can build release version by the following. The library will be in target/release/libtikv_client.a.

make release

Run example

tiup playground nightly
make run-example