A tool to simplify protoc invocation.
Latest stable Rust is required. To use Go plugin, Go 1.13 is required (probably earlier versions with Go Molules supported too).
Create a protogen.toml
file in the proto root directory
and run protogen
.
For Go protos generation, project with Go Modules is required. Go import path will be derived from module name (go.mod
) + path to output directory in that module.