Expand description
Contains utilities to build protos & make them available to Rust.
Functionsยง
- build_
protos - 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: - build_
protos_ explicit - 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.