grpc-rs
grpc-rs copied to clipboard
Enum generation does not repect standard naming
Describe the bug When I define an enum in protobuf with the variants in the correct style (ALL_CAPS_UNDERSCORES), the generated rust enum's variants are also in the same style.
Expected behavior The generated enum variants in the rust code to use PascalCase.
What branch of grpc-rs are you using?
@ice1000 Thanks for the quick reply. This is what's in the Cargo.toml of our grpc crate:
[dependencies]
futures = "0.1.16"
grpcio = "0.4.4"
protobuf = "~2"
[build-dependencies]
protoc-grpcio = "0.3.1"