buffa_descriptor/generated/
google.protobuf.compiler.mod.rs1include!("google.protobuf.compiler.plugin.rs");
4#[allow(
5 non_camel_case_types,
6 dead_code,
7 unused_imports,
8 unused_qualifications,
9 clippy::derivable_impls,
10 clippy::match_single_binding,
11 clippy::uninlined_format_args,
12 clippy::doc_lazy_continuation,
13 clippy::module_inception
14)]
15pub mod __buffa {
16 #[allow(unused_imports)]
17 use super::*;
18 #[cfg(feature = "views")]
19 pub mod view {
20 #[allow(unused_imports)]
21 use super::*;
22 include!("google.protobuf.compiler.plugin.__view.rs");
23 }
24 #[cfg(any(feature = "json", feature = "text"))]
25 #[allow(unused_variables)]
27 pub fn register_types(reg: &mut ::buffa::type_registry::TypeRegistry) {
28 #[cfg(feature = "json")] reg.register_json_any(super::__VERSION_JSON_ANY);
29 #[cfg(feature = "json")]
30 reg.register_json_any(super::__CODE_GENERATOR_REQUEST_JSON_ANY);
31 #[cfg(feature = "json")]
32 reg.register_json_any(super::__CODE_GENERATOR_RESPONSE_JSON_ANY);
33 #[cfg(feature = "json")]
34 reg.register_json_any(super::code_generator_response::__FILE_JSON_ANY);
35 #[cfg(feature = "text")] reg.register_text_any(super::__VERSION_TEXT_ANY);
36 #[cfg(feature = "text")]
37 reg.register_text_any(super::__CODE_GENERATOR_REQUEST_TEXT_ANY);
38 #[cfg(feature = "text")]
39 reg.register_text_any(super::__CODE_GENERATOR_RESPONSE_TEXT_ANY);
40 #[cfg(feature = "text")]
41 reg.register_text_any(super::code_generator_response::__FILE_TEXT_ANY);
42 }
43}
44#[cfg(feature = "views")]
45#[doc(inline)]
46pub use self::__buffa::view::VersionView;
47#[cfg(feature = "views")]
48#[doc(inline)]
49pub use self::__buffa::view::CodeGeneratorRequestView;
50#[cfg(feature = "views")]
51#[doc(inline)]
52pub use self::__buffa::view::CodeGeneratorResponseView;
53#[cfg(any(feature = "json", feature = "text"))]
54#[doc(inline)]
55pub use self::__buffa::register_types;