//! Build script for stemedb-rpc that generates gRPC code from proto files.

fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .build_server(true)
        .build_client(true)
        .compile_protos(&["proto/sync.proto"], &["proto/"])?;
    Ok(())
}
