Replies: 1 comment
-
|
Figured it out. I had to define the common module in the lib.rs file. Added at the top |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I recreated the snazzy project which worked fine and then I created a common.proto file that looks like this:
and placed it in the src directory next to the items.proto file which I modified to look like this:
when I run cargo build now I get this error:
Is the import wrong?
Beta Was this translation helpful? Give feedback.
All reactions