Skip to main content

Module generated

Module generated 

Source
Expand description

Generated protobuf descriptor types.

These types are generated from google/protobuf/descriptor.proto and google/protobuf/compiler/plugin.proto using buffa-codegen itself. This makes buffa fully self-hosted — no external protobuf library is needed to decode descriptors — and gives direct access to edition features (FeatureSet, Edition, etc.).

To regenerate, run task gen-bootstrap-types from the repo root.

The module tree mirrors the proto package nesting (google.protobuf.compiler is a child of google.protobuf), so the super::* cross-package references the codegen emits resolve without re-export workarounds — compiler::* reaching for super::FileDescriptorProto lands directly in the parent module, and compiler::__buffa::view::* reaching for super::super::super::__buffa::view::FileDescriptorProtoView does too. The sibling-style crate::generated::compiler::* path used by downstream consumers (and by buffa-codegen’s file-level extern routing for google/protobuf/compiler/plugin.proto) is preserved with a pub use.

Re-exports§

pub use descriptor::compiler;
pub use descriptor::FileDescriptorProto;
pub use descriptor::GeneratedCodeInfo;

Modules§

descriptor