fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Compile proto files using tonic-prost-build
    tonic_prost_build::configure()
        .compile_protos(
            &["../../proto/data_acquisition.proto"],
            &["../../proto"],
        )?;

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

    Ok(())
}
