24 stable releases
1.0.23 | Nov 23, 2023 |
---|---|
1.0.21 | Oct 23, 2023 |
1.0.9 | Jul 18, 2023 |
1.0.1 | Feb 28, 2023 |
0.1.0 | Feb 22, 2023 |
#1777 in Network programming
63 downloads per month
Used in 2 crates
(via ceresdb-client)
10KB
74 lines
Protocol of CeresDB
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
- Name the maven project to a new version.
- Rebuild the maven project lies in the
java
directory (During the build process, java code for the latest proto will be generated). - 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
- Install the prerequisites:
- Install Protocol Buffers v3.20.1 compiler.
- Execute
make build
.
Dependencies
~6–16MB
~150K SLoC