This is a demo of how to use Bazel to build a Rust project that depends on a proto library.
First, ensure that you have:
Then run the following:
git clone https://github.com/ryanmcdermott/bazel-rust-proto
cd bazel-rust-proto
cargo generate-lockfile && cargo raze
bazel run //project/src:main