Crate proto_build_tools
source ยทExpand description
Contains utilities to build protos & make them available to Rust.
Functionsยง
- Builds a set of Rust protos based on the provided proto files. The individual protos will be dumped into
out_dir(will be created if needed), along with a file that wraps themout_dir/generated.rs. The wrapper file can then be included using a pattern like: - Allows for more control than build_protos (useful when the proto build is more complex).
- create_gen_file ๐
- gen_protos ๐
- to_includes ๐Given a list of proto files, extract the set of include directories needed to pass to the proto compiler.