1 2 3 4 5 6 7 8 9 10 11 12 13 14
fn main() { tonic_build::configure() .out_dir("src/pb") .compile( &[ "proto/astro_run_server.proto", "proto/astro_run_remote_runner.proto", ], &["proto"], ) .unwrap(); // println!("cargo:rerun-if-changed=proto/astro_run_server.proto"); }