a2a-pb 0.3.2

A2A v1 protobuf-generated types and conversion layer
Documentation
// Copyright AGNTCY Contributors (https://github.com/agntcy)
// Copyright A2A Contributors (https://github.com/a2aproject)
// SPDX-License-Identifier: Apache-2.0
/// Generated protobuf types for the A2A v1 protocol.
pub mod proto {
    include!("gen/lf.a2a.v1.rs");
}

/// ProtoJSON-capable generated protobuf types for the A2A v1 protocol.
pub mod protojson {
    // Generated serde code emits `write!(f, "...", &FIELDS)`, which newer
    // clippy flags as a useless borrow. Suppress it for the generated module.
    // `unknown_lints` keeps this compiling on clippy versions predating the lint.
    #![allow(unknown_lints)]
    #![allow(clippy::useless_borrows_in_formatting)]

    include!(concat!(env!("OUT_DIR"), "/lf.a2a.v1.rs"));
    include!(concat!(env!("OUT_DIR"), "/lf.a2a.v1.serde.rs"));
}

pub mod pbconv;
pub mod protojson_conv;

pub use proto::*;