brainwires-a2a 0.6.0

Agent-to-Agent (A2A) protocol — JSON-RPC, REST, and gRPC bindings
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() -> Result<(), Box<dyn std::error::Error>> {
    #[cfg(feature = "grpc")]
    {
        tonic_build::configure()
            .build_server(cfg!(feature = "grpc-server"))
            .build_client(cfg!(feature = "grpc-client"))
            .compile_protos(&["proto/a2a.proto"], &["proto/"])?;
    }
    Ok(())
}