1 2 3 4 5 6 7 8 9 10 11 12
fn main() -> Result<(), Box<dyn std::error::Error>> { // Uncomment the code below and cargo build again, when updating google protos // tonic_build::configure() // .build_server(false) // .out_dir("src/google") // .compile( // &["../googleapis/google/bigtable/v2/bigtable.proto"], // &["../googleapis"], // )?; Ok(()) }