Skip to main content

switchback_codec_pb/
protobuf.rs

1//! Buffa-generated protobuf types, exposed by protobuf package path.
2//!
3//! Types are produced at build time from [`switchback.proto`](https://github.com/canardleteer/switchback-rs/blob/main/crates/switchback-codec-pb/proto/canardleteer/switchback/v1alpha1/switchback.proto).
4//! Generated items inherit buffa/rustdoc from the `.proto` file; this module suppresses
5//! `missing_docs` on that output.
6//!
7//! External tools should depend on the layered path, e.g.
8//! `switchback_codec_pb::canardleteer::switchback::v1alpha1::ReferenceManual`, so
9//! additional package versions can ship alongside without a breaking rename.
10
11#[allow(
12    dead_code,
13    missing_docs,
14    unused_imports,
15    clippy::all,
16    clippy::pedantic,
17    clippy::nursery
18)]
19pub(crate) mod generated {
20    include!(concat!(env!("OUT_DIR"), "/_include.rs"));
21}
22
23/// Protobuf package prefix `canardleteer.*`.
24pub mod canardleteer {
25    /// Protobuf package `canardleteer.switchback.*`.
26    pub mod switchback {
27        /// Built-in protocol packages under `canardleteer.switchback.protocol.*`.
28        pub mod protocol {
29            /// HTTP protocol schema `canardleteer.switchback.protocol.http.v1alpha1`.
30            pub mod http {
31                /// Unstable HTTP protocol schema.
32                pub mod v1alpha1 {
33                    pub use crate::protobuf::generated::canardleteer::switchback::protocol::http::v1alpha1::*;
34                }
35            }
36            /// gRPC protocol schema `canardleteer.switchback.protocol.grpc.v1alpha1`.
37            pub mod grpc {
38                /// Unstable gRPC protocol schema.
39                pub mod v1alpha1 {
40                    pub use crate::protobuf::generated::canardleteer::switchback::protocol::grpc::v1alpha1::*;
41                }
42            }
43            /// Kafka protocol schema `canardleteer.switchback.protocol.kafka.v1alpha1`.
44            pub mod kafka {
45                /// Unstable Kafka protocol schema.
46                pub mod v1alpha1 {
47                    pub use crate::protobuf::generated::canardleteer::switchback::protocol::kafka::v1alpha1::*;
48                }
49            }
50            /// AMQP protocol schema `canardleteer.switchback.protocol.amqp.v1alpha1`.
51            pub mod amqp {
52                /// Unstable AMQP protocol schema.
53                pub mod v1alpha1 {
54                    pub use crate::protobuf::generated::canardleteer::switchback::protocol::amqp::v1alpha1::*;
55                }
56            }
57            /// MQTT protocol schema `canardleteer.switchback.protocol.mqtt.v1alpha1`.
58            pub mod mqtt {
59                /// Unstable MQTT protocol schema.
60                pub mod v1alpha1 {
61                    pub use crate::protobuf::generated::canardleteer::switchback::protocol::mqtt::v1alpha1::*;
62                }
63            }
64        }
65
66        /// Unstable schema `canardleteer.switchback.v1alpha1`.
67        pub mod v1alpha1 {
68            pub use crate::protobuf::generated::canardleteer::switchback::v1alpha1::*;
69        }
70    }
71}