This tutorial provides a simple and quick implementation of how to get started working with gRPC in Rust
To follow this tutorial, the following are requireed
- protobuf installed locally
- tonic - a simple rust implementation of gRPC
- prost - for generating rust code from .proto files
To run this project, simple clone and run the two binaries in seperate terminals
cargo run --bin grpc-server
cargo run --bin grpc-client
Happy hacking
- Tonic - docs.rs/tonic/0.11.0
- Prost - docs.rs/prost/0.12.3
- Protobuf releases - https://github.com/protocolbuffers/protobuf/releases