-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Closed as not planned
Labels
inactiveDenotes the issue/PR has not seen activity in the last 90 days.Denotes the issue/PR has not seen activity in the last 90 days.protocrust
Description
https://docs.rs/protobuf-codegen/4.31.1-release/protobuf_codegen/struct.CodeGen.html
This crate seems to handle protos definitions only. However, in practice when gRPC is involved, users typically define services along with messages.
prost-build has a method that allows gRPC implementor to provide their own integration:
- https://docs.rs/prost-build/latest/prost_build/struct.Config.html#method.service_generator
- https://docs.rs/prost-build/latest/prost_build/trait.ServiceGenerator.html
Otherwise, gRPC implementor may need to parse the proto files by themselves and bypass protobuf-codegen.
What do you think about gRPC support/extension?
Metadata
Metadata
Labels
inactiveDenotes the issue/PR has not seen activity in the last 90 days.Denotes the issue/PR has not seen activity in the last 90 days.protocrust