Files
tonic/interop/build.rs
T
2020-03-01 13:52:31 -05:00

9 lines
240 B
Rust

fn main() {
let proto = "proto/grpc/testing/test.proto";
tonic_build::prost::compile_protos(proto).unwrap();
// prevent needing to rebuild if files (or deps) haven't changed
println!("cargo:rerun-if-changed={}", proto);
}