Autogenerated struct does not implement Sized? #1827
-
Hey y'all! I'm new to Tonic, and I can't figure out one thing that doesn't seem to be documented anywhere.
According to the compiler, Necessary protos:
Tonic-build's codegen (found in /target):
Would appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out. I had to add |
Beta Was this translation helpful? Give feedback.
I figured it out. I had to add
prost
crate anduse prost::Message;
to my codefile. Even though it shows a warning for an unused import, it works for some reason. I'll leave this public for people with this problem.