zebra/zebra-grpc/build.rs

9 lines
199 B
Rust

//! Compile proto files
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.btree_map(["."])
.compile(&["proto/scanner.proto"], &[""])?;
Ok(())
}