The prost/tonic code can be generated by running, which in turn invokes the Rust binary located in gen
This is necessary after modifying the protobuf definitions or altering the dependencies of gen, and requires a valid installation of protoc.
./regen.sh
The standard approach to integrating prost-build
/ tonic-build
is to use a build.rs
script that automatically generates the code as part of the standard build process.
Unfortunately this caused a lot of friction for users: