jgarzik
rust-protobuf-example
Rust

Example rust protobuf project

Last updated Dec 23, 2025
37
Stars
11
Forks
0
Issues
0
Stars/day
Attention Score
7
Language breakdown
No language data available.
โ–ธ Files click to expand
README

rust-protobuf-example

Example rust protobuf project

Motivation

Simple and obvious examples for using rust-protobuf module were lacking, so this was created.

Dependencies

protoc (Protobuf Compiler)

Installation instructions

Installing Protoc on Ubuntu (and similar)

sudo apt install protobuf-compiler

Look here

Key files to read are:

  • src/protos/example.proto
  • src/main.rs
  • build.rs

Using

Standard rust package:

$ cargo build $ cargo run

Contributions

Contributions are welcome. File an issue or PR.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท jgarzik/rust-protobuf-example ยท Updated daily from GitHub