fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Compile proto files for Broker Gateway Service
    tonic_prost_build::configure()
        .compile_protos(
            &["../../proto/broker_gateway.proto"],
            &["../../proto"],
        )?;

    println!("cargo:rerun-if-changed=../../proto/broker_gateway.proto");

    Ok(())
}
