[][src]Crate protobuf_build

Utility functions for generating Rust code from protobuf specifications.

These functions panic liberally, they are designed to be used from build scripts, not in production.

Functions

check_protoc_version

Check that the user's installed version of the protobuf compiler is 3.1.x.

generate
generate_files

Generate Rust files from proto files (files).

generate_grpcio
get_protoc
replace_read_unknown_fields

Convert protobuf files to use the old way of reading protobuf enums.