dropbox / pb-jelly

A protobuf code generation framework for the Rust language developed at Dropbox.
Apache License 2.0
610 stars 25 forks source link

Use r# syntax for keywords instead of appending _ #153

Closed goffrie closed 8 months ago

goffrie commented 8 months ago

This is more faithful to the input and guarantees that there can't be a collision. Also included is a fix for reflection since the munged names shouldn't be used at runtime.

This also adds a couple missing keywords from Rust 2018.