Question: Parsing Source File as FileDescriptorProto
#486
Unanswered
XAMPPRocky
asked this question in
Q&A
Replies: 1 comment
-
I have developed a crate for this: protox |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I want to do more advanced codegen than
prost-build
currently provides withServiceGenerator
. I want to be able to generate a second configuration that is more Rust friendly, and I want to be able to set attributes based on what the names, types, and values of the different messages and fields are.FileDescriptorProto
has this information, however it doesn't like there is a public way to getFileDescriptorProto
from a source.proto
file. Would it be possible to have a public way to parse Protobuf source files?Beta Was this translation helpful? Give feedback.
All reactions