Rust service

This commit is contained in:
Eden Kirin
2023-03-19 22:27:38 +01:00
parent 1fa1b10699
commit a99b5d0014
7 changed files with 1150 additions and 6 deletions

View File

@ -105,9 +105,17 @@ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
### Rust services
Update `rustc`
```sh
rustup update
```
#### [Tonic](https://github.com/hyperium/tonic)
Tonic is a gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility. This library was created to have first class support of async/await and to act as a core building block for production systems written in Rust.
[Hello world tutorial](https://github.com/hyperium/tonic/blob/master/examples/helloworld-tutorial.md)
[Rust and gRPC: A complete guide](https://blog.logrocket.com/rust-and-grpc-a-complete-guide/)