fn main() { tonic_prost_build::compile_protos("../proto/inference.proto") .unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e)); println!("cargo::rerun-if-changed=build.rs"); println!("cargo::rerun-if-changed=proto/inference.proto"); }