stefandanaita / grpc-build

Easy gRPC compilation for Rust
https://docs.rs/grpc-build
MIT License
17 stars 13 forks source link

Add default module name #31

Closed ThomWright closed 2 years ago

ThomWright commented 2 years ago

If a proto file doesn't have a package, the generated code would use _ as the module name, which doesn't compile.

This change allows setting a default for when no package name is available.

conradludgate commented 2 years ago

Merged into dev branch and published as 4.1.0