https://github.com/sollimann/rust_grpc
A beginners guide to gRPC with Rust
https://github.com/sollimann/rust_grpc
api api-client api-server bidirectional-streaming grpc rust rust-lang rust-language
Last synced: about 2 months ago
JSON representation
A beginners guide to gRPC with Rust
- Host: GitHub
- URL: https://github.com/sollimann/rust_grpc
- Owner: Sollimann
- Created: 2020-12-02T23:49:09.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-05T18:14:26.000Z (over 5 years ago)
- Last Synced: 2026-02-19T20:58:57.964Z (4 months ago)
- Topics: api, api-client, api-server, bidirectional-streaming, grpc, rust, rust-lang, rust-language
- Language: Rust
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust grpc
from article:
https://dev.to/anshulgoyal15/a-beginners-guide-to-grpc-with-rust-3c7o
First run the server:
```bash
$ cargo run --bin server
```
Then run the client:
```bash
$ cargo run --bin client
```
## Project Structure
+ proto/
say.proto (defining messages and services)
+ src/
client
server
hello
build.rs
-> will compile proto/say.proto file and saveit in an OUT_DIR
and add an environment variable OUT_DIR which is available
at build time so that we can use it later in our code.