tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
452 stars 87 forks source link

No messages or enums were read; either there was no input or there were only unsupported structures #74

Closed amandasaurus closed 6 years ago

amandasaurus commented 7 years ago

I'm getting the following error:

Error: Could not convert vector_tile.proto into vector_tile.rs
Caused by: No messages or enums were read; either there was no input or there were only unsupported structures

When trying to parse this not so complicated proto file: https://github.com/mapbox/vector-tile-spec/blob/master/2.1/vector_tile.proto

Is there something in that proto file that's not supported?

tafia commented 7 years ago

It's been a while since you posted that issue and I didn't answer.

pb-rs apparently doesn't support extensions (commenting these lines work fine). I'll have a look and see if we can add this.

tafia commented 6 years ago

I know it's been a long time but I have now explicitly ignored the extensions. Which means your proto file will now parse.