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.
- Host: GitHub
- URL: https://github.com/juliencrn/rust-grpc-demo
- Owner: juliencrn
- Created: 2022-09-29T23:53:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T23:53:38.000Z (about 3 years ago)
- Last Synced: 2024-10-06T01:41:40.426Z (12 months ago)
- Topics: grpc, rust, tokio, tonic
- Language: Rust
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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'"
```