ceresdbproto

Crates.ioceresdbproto
lib.rsceresdbproto
version1.0.23
sourcesrc
created_at2023-02-22 09:44:06.588749
updated_at2023-11-23 08:36:33.241379
descriptionProtobuf specs for CeresDB
homepage
repositoryhttps://github.com/CeresDB/ceresdbproto
max_upload_size
id791676
size34,780
crates (github:ceresdb:crates)

documentation

README

Protocol of CeresDB

Crates.io Go Reference

Protocol buffer files for CeresDB. Projects that manage generated code of different languages are also in this repository. They acts as underlying dependency of client, server and meta.


User Guide

Rust

cargo add ceresdbproto

Golang

go get github.com/CeresDB/ceresdbproto/golang

Java

Add a maven dependency to your project.

<dependency>
    <groupId>io.ceresdb</groupId>
    <artifactId>ceresdb-proto-internal</artifactId>
    <version>1.0.0</version>
</dependency>

Developer Guide

After modifying the proto files, something else for different programming languages should be done.

Java

  1. Name the maven project to a new version.
  2. Rebuild the maven project lies in the java directory (During the build process, java code for the latest proto will be generated).
  3. Publish the build result to the central maven repository.

Rust

As for the Rust projects that depends on this project, everything will be generated during the build process of themselves. So nothing else needs to be done for Rust.

Golang

  1. Install the prerequisites:
  1. Execute make build.
Commit count: 92

cargo fmt