Skip to content

pingcap/kvproto

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0e80669 · Nov 29, 2023
Nov 8, 2022
Aug 31, 2022
Dec 9, 2022
Nov 29, 2023
Nov 29, 2023
Nov 29, 2023
Nov 18, 2022
May 10, 2018
Aug 1, 2023
Aug 1, 2023
Aug 1, 2023
Mar 29, 2023
May 7, 2018
Jun 1, 2023
Jan 21, 2022
Aug 6, 2019
Nov 7, 2023
Nov 7, 2023
Mar 21, 2023

Repository files navigation

kvproto

Protocol buffer files for TiKV

Usage

  • Write your own protocol file in proto folder.
  • If you need to update raft-rs, please download the proto file respectively and overwrite the one in include folder.
  • Run make to generate go and rust code. We generate all go codes in pkg folder and rust in src folder.
  • Update the dependent projects.

Dependencies

  • Rust
  • Go
  • Protoc 3.8.0

Docker image

The easiest way to compile the protobufs is to use docker.

./scripts/docker-build.sh  # build the docker image once
./scripts/docker-run.sh make go

Build locally

There are many dependencies to be installed, please refer to the relevant scripts in workflow to set them up.