Skip to content

bumblezhou/rust_test_grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple app to demo how to use grpc in rust project.

Prepare

  1. install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. install protobuf
sudo apt update && sudo apt install protobuf-compiler -y

Build and run

cargo build
cargo run server
cargo run client

Reference

  1. https://medium.com/@learnwithshobhit/comparing-capn-proto-and-grpc-in-rust-a-performance-and-feature-analysis-61d2da815d18
  2. https://forge.rust-lang.org/infra/other-installation-methods.html#rustup
  3. https://grpc.io/docs/protoc-installation/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages