IDL solution
#770
-
What's the suggested pattern when using with IDL such as protobuf? |
Beta Was this translation helpful? Give feedback.
Answered by
fzyzcjy
Oct 8, 2022
Replies: 2 comments 6 replies
-
Maybe serialize it to |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jwinarske
-
Say I want to in the same project use gRPC. I include Tonic, and a proto file. Build.rs is used to generate Rust code from protobuf. How can I programmatically decorate the struct/enums/etc in the intermediate IDL output? I don't want to check in the intermediate code. Example struct definition in intermediate code:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe serialize it to
Vec<u8>
(Uint8LIst)?