LMJW Blog My notes.
Posts with the tag build:

Simple prost use guid

Simple tonic/prost example A simple tonic repo setup Using gRPC usually requires both client & server to have same protobuf definition. Client and server usually are not defined in the same repository. We can use a separate git repository to store the protobuf definition, and using the git submodule to include the protobuf definition in the corresponding client and server. Check sample repo to see how to setup A simple prost example Sometime you only want to use protobuf to do serializing and deserializing the message, nothing else. In this case, you will need to use prost only. Here is a simplest example of how to do that.