fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo:rerun-if-changed=proto/traverse/runtime/v1/events.proto");
let mut prost_config = prost_build::Config::new();
prost_config.protoc_executable(protoc_bin_vendored::protoc_bin_path()?);
tonic_prost_build::configure()
.build_server(true)
.compile_with_config(
prost_config,
&["proto/traverse/runtime/v1/events.proto"],
&["proto"],
)?;
Ok(())
}