Protobuf in rust Run cargo run to build and run! Example outputs a serialized array of ints. The docs were slightly confusing to me, so I put this together to demonstrate how to use protoc-rust.