Skip to content

mr-celo/rust-protobuf-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

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.

About

Example rust protobuf project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%