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 them out_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).
  • gen_protos 🔒
  • Given a list of proto files, extract the set of include directories needed to pass to the proto compiler.