use std::error::Error;
use std::process::exit;
fn run() -> Result<(), Box<dyn Error>> {
tonic_build::configure()
.compile_protos(&["indradb.proto"], &["."])?;
Ok(())
}
fn main() {
if let Err(err) = run() {
eprintln!("{err}");
exit(1);
}
println!("cargo:rerun-if-changed=indradb.proto");
}