tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
446 stars 82 forks source link

`pb-rs` fails when processing a `oneof` with a semicolon #261

Open kckeiks opened 3 months ago

kckeiks commented 3 months ago

pb-rs (version 0.10.0) fails when converting this file https://github.com/onnx/onnx/blob/main/onnx/onnx.proto#L692 and it succeeds when I remove that semicolon. Is this expected?

kckeiks commented 3 months ago

In addition, converting with --dont_use_cow was adding lifetimes where they were not expected causing struct takes 0 lifetime arguments but 1 lifetime argument was supplied. Should I open a different issue for this?