An open API service indexing awesome lists of open source software.

https://github.com/juliencrn/rust-grpc-demo

Minimal example of a RPC server written in Rust.
https://github.com/juliencrn/rust-grpc-demo

grpc rust tokio tonic

Last synced: 6 months ago
JSON representation

Minimal example of a RPC server written in Rust.

Awesome Lists containing this project

README

          

# Rust gRPC demo

Minimal example of a RPC server written in Rust.

```bash
# System deps (for MacOS)
brew install protobuf
brew install grpc

# Require Rust installed
cargo run

# In another term, call the RPC server
grpc_cli call localhost:50052 bookstore.Bookstore.GetBook "id: 'test-book-id'"
```