fn main() -> Result<(), Box<dyn std::error::Error>> {
std::env::set_var("PROTOC", protobuf_src::protoc());
// tonic_build::compile_protos("proto/rove.proto")?;
// needed the extra flag to make docs.rs happy :(. we can probably switch
// back to the commented version once they update their protoc
tonic_prost_build::configure()
.protoc_arg("--experimental_allow_proto3_optional")
.compile_protos(&["proto/rove.proto"], &["proto"])?;
Ok(())
}