stepancheg/rust-protobuf

[deprecated=true] annotation in proto file not reflected in resulting code

Opened this issue · 0 comments

protocol buffers have "deprecated = true" notation for specifying fields that are marked as deprecated. I use this feature when knowing if I need to remove users, and on C++ I treat it as an error.

 bool available = 1 [deprecated = true];

I don't see an option to get protobuf-codegen keep deprecated tags ?