version: v1 plugins: - name: prost out: src/gen opt: - bytes=. # https://docs.rs/prost-build/latest/prost_build/struct.Config.html#method.compile_well_known_types - compile_well_known_types # https://github.com/neoeinstein/protoc-gen-prost/blob/main/protoc-gen-prost/README.md#protoc-gen-prost - file_descriptor_set - name: tonic out: src/gen opt: # https://docs.rs/prost-build/latest/prost_build/struct.Config.html#method.compile_well_known_types - compile_well_known_types - name: prost-crate out: . strategy: all opt: - include_file=src/gen/mod.rs - gen_crate # defines the seperator used in the feature name `foo-bar` vs `foo_bar` # https://docs.rs/protoc-gen-prost-crate/0.3.0/protoc_gen_prost_crate/#options - package_separator=_