Skip to content

Rust protoc to support generate service? #22746

@tisonkun

Description

@tisonkun

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:

Otherwise, gRPC implementor may need to parse the proto files by themselves and bypass protobuf-codegen.

What do you think about gRPC support/extension?

cc @acozzette @esrauchg

Metadata

Metadata

Labels

inactiveDenotes the issue/PR has not seen activity in the last 90 days.protocrust

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions