3 stable releases

2.0.0 Feb 20, 2024
1.0.24 Nov 30, 2023
1.0.23 Nov 29, 2023

#993 in Network programming

Download history 284/week @ 2024-02-14 325/week @ 2024-02-21 260/week @ 2024-02-28 260/week @ 2024-03-06 254/week @ 2024-03-13 210/week @ 2024-03-20 323/week @ 2024-03-27 293/week @ 2024-04-03 227/week @ 2024-04-10 460/week @ 2024-04-17 424/week @ 2024-04-24 350/week @ 2024-05-01 419/week @ 2024-05-08 384/week @ 2024-05-15 466/week @ 2024-05-22 369/week @ 2024-05-29

1,688 downloads per month
Used in horaedb-client

Apache-2.0

375KB
9K SLoC

Go 9K SLoC // 0.0% comments Rust 74 SLoC // 0.3% comments Shell 15 SLoC // 0.5% comments

Protocol of Apache HoraeDB™

Crates.io Go Reference

Protocol buffer files for HoraeDB. 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 horaedbproto

Golang

go get github.com/apache/incubator-horaedb-proto/golang

Java

Add a maven dependency to your project.

<dependency>
    <groupId>org.apache.horaedb</groupId>
    <artifactId>horaedb-proto-internal</artifactId>
    <version>${horaedb-proto-internal.version}</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 Protocol Buffers v25.1 compiler.
  2. Execute make go.

Dependencies

~6–10MB
~148K SLoC