Content-Length: 275613 | pFad | http://github.com/jgarzik/rust-protobuf-example

4F GitHub - jgarzik/rust-protobuf-example: Example rust protobuf project
Skip to content

jgarzik/rust-protobuf-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 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)

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.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jgarzik/rust-protobuf-example

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy