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 }
44
45 /// Unstable schema `canardleteer.switchback.v1alpha1`.
46 pub mod v1alpha1 {
47 pub use crate::protobuf::generated::canardleteer::switchback::v1alpha1::*;
48 }
49 }
50}