Closed ParkMyCar closed 4 years ago
Looks like I actually pulled in the changes from #11, I'll fix this later 🙂
@nipunn1313 sorry for such a large change! A lot of these changed files are generated code (not sure why GitHub doesn't collapse them) or files moving around. What would really be worth reviewing are the small changes I made to codegen.py
and the new pb-gen/src/lib.rs
This PR does a couple big things:
pb-gen
to provide a nice user interface to generate proto bindings.pb-types
which include the generated Rust code for Google Protobuf WellKnownTypes. We previously generated this code by messing with the path ofprotoc
to find the source.proto
files, now users no longer need to do thisexamples
(ignored from the workspace) that includes an encapsulated example. The example doesn't need to copy any code, and solely relies on crates from the workspace, pulled from git!