1 2 3 4 5 6 7
fn main() { tonic_build::configure() .build_server(true) .out_dir("src/grpc") .compile(&["proto/keystore.proto"], &["proto"]) .expect("Failed to compile protos"); }