tap_aggregator 0.6.3

A JSON-RPC service for the Timeline Aggregation Protocol that lets clients request an aggregate receipt from a list of individual receipts.
Documentation
// Copyright 2023-, Semiotic AI, Inc.
// SPDX-License-Identifier: Apache-2.0

fn main() -> Result<(), Box<dyn std::error::Error>> {
    println!("Running build.rs...");
    let out_dir = std::env::var("OUT_DIR").expect("OUT_DIR not set by Cargo");
    println!("OUT_DIR: {out_dir}"); // This should print the output directory

    tonic_prost_build::configure()
        .build_server(true)
        .compile_protos(
            &[
                "proto/uint128.proto",
                "proto/tap_aggregator.proto",
                "proto/v2.proto",
            ],
            &["proto"],
        )?;

    Ok(())
}