the build.rs script generates rust code from the identity.proto file. we then use the include_proto macro to expose the generated code as a module in our library
Details
Details
cargo build
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- identity-client (branched from master)
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
I'm not exactly sure how we handle .proto files in other services, but we should be consistent. Could you check what is the approach to generating source code from proto files? (if we do that during build time, or generate them by hand, before the build process) Also, if the good practices suggest that we should do that during build process, we might want to take this approach in all the places.
Comment Actions
This is exactly how we handle protos in the Identity service and the commtest package