Skip to main content

macp_pb/
lib.rs

1//! Generated MACP protobuf message types.
2//!
3//! This crate contains the prost-generated message structs for the MACP wire
4//! format and all standards-track mode payloads. It is deliberately
5//! transport-free: it does **not** pull in `tonic`. The gRPC service stubs for
6//! `macp.v1` live in the `macp-runtime` crate (generated via `.extern_path()`
7//! against the message types defined here).
8
9pub mod pb {
10    include!(concat!(env!("OUT_DIR"), "/macp.v1.rs"));
11}
12
13pub mod decision_pb {
14    include!(concat!(env!("OUT_DIR"), "/macp.modes.decision.v1.rs"));
15}
16
17pub mod proposal_pb {
18    include!(concat!(env!("OUT_DIR"), "/macp.modes.proposal.v1.rs"));
19}
20
21pub mod task_pb {
22    include!(concat!(env!("OUT_DIR"), "/macp.modes.task.v1.rs"));
23}
24
25pub mod handoff_pb {
26    include!(concat!(env!("OUT_DIR"), "/macp.modes.handoff.v1.rs"));
27}
28
29pub mod quorum_pb {
30    include!(concat!(env!("OUT_DIR"), "/macp.modes.quorum.v1.rs"));
31}
32
33pub mod multi_round_pb {
34    include!(concat!(env!("OUT_DIR"), "/macp.modes.multi_round.v1.rs"));
35}