gRPC Rust example
See https://tamalpais.atlassian.net/wiki/spaces/SD/pages/986972173 for reference material
Â
Â
rustup toolchain install stable
rustup component list
rustup component add rustfmt
cargo new helloworld-tonic
cd helloworld-tonic
follow instructions in helloworld-tutorial, creating build.rs, server.rs, and helloworld.proto, and modifying Cargo.toml. Also add mod server;
to beginning of main.rs
Run server
cargo run --bin helloworld-server
Install BloomRPC and run
select helloworld.rpc on left
click play button
You should see Response on right
follow instructions in helloworld-tutorial, creating client.rs and adding mod client;
to beginning of main.rs
Run client
cargo run --bin helloworld-client
Â
Â
routeguide example
Â
Â
Â
Â