A boilerplate for building gRPC microservices in Rust. This project provides an out-of-the-box setup for a gRPC server and client using tonic
for gRPC support and tokio
for async runtime. The project includes auto-generated Protobuf support, making it ideal for creating high-performance, asynchronous services.
- Async gRPC server and client using
tonic
andtokio
. - Auto-generated Protobuf code with a sample
.proto
file. - Supports multi-stage Docker builds for efficient containerization.
- Example server and client implementations to get you started quickly.
- Rust installed. You can follow the Rust installation guide.
- Protobuf Compiler (
protoc
) installed. Follow the gRPC Protobuf installation instructions. - Docker (optional, for containerization).
- gRPC Documentation
- Tonic: A gRPC over HTTP/2 Implementation
- Prost: A Protocol Buffers Implementation for Rust