[−][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_protobuf_files | Use protobuf-rs to generate Rust files from proto files ( |
module_names_for_dir | Returns a list of module names corresponding to the Rust files in a directory. |
replace_read_unknown_fields | Convert protobuf files to use the old way of reading protobuf enums. |