agentis-pay-shared 0.1.4

Shared library for Agentis Pay CLI — gRPC client, TLS, and configuration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() -> Result<(), Box<dyn std::error::Error>> {
    let proto_file = "proto/agentispay.proto";
    let proto_dir = "proto";

    println!("cargo:rerun-if-changed={}", proto_file);
    tonic_build::configure()
        .build_client(true)
        .build_server(false)
        .compile_protos(&[proto_file], &[proto_dir])?;

    Ok(())
}