Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

See /wiki/spaces/SD/pages/986972173 for reference material

Code Block
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