Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Adam Cozzette 5082805cd0 Replace README templates with real README.md files 2 months ago
..
proto/proto_example Update Rust example crate to use more unique .proto file paths 4 months ago
src Drop the notion of 'primary' file in all rs code generation. 4 months ago
BUILD Replace README templates with real README.md files 2 months ago
Cargo-template.toml Rust: update manifests to refer to the real (non-staging) crates 4 months ago
README.md Replace README templates with real README.md files 2 months ago
build.rs Update Rust example crate to use more unique .proto file paths 4 months ago

README.md

An example that demonstrates how to use the protobuf and protobuf_codegen crates together.

How to get a compatible version of protoc

Usage of this crate currently requires protoc to be built from source, as it relies on changes that have not been included in the newest protoc release yet.

A future stable release will be compatible with the officially released protoc binaries.

You can build a compatible protoc from source as follows:

git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout rust-prerelease-4.31.0-beta1
cmake . -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON
cmake --build . --parallel 12"