📄 build.rs
1 2 3 4 5
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_prost_build::compile_protos("proto/receipt_printer.proto")?;
    Ok(())
}