Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): Allow non_camel_case_types on codegen structs
This commit adjusts the code generation for the internal structs in the implementation of Service<http::Request<HyperBody>> for *Server<T> in order to annotate internal structs whose names are derived from gRPC method names with `[allow(non_camel_case_types)]`. This supresses compiler warnings about type names when compiling generated code. The struct names are not exposed externally, so this has no impact on types seen by library consumers. Fixes #295.
- Loading branch information