Expand description
Protobuf descriptor types for buffa.
This crate provides buffa-generated Rust types for the protobuf descriptor
schema (google/protobuf/descriptor.proto) and the protoc plugin protocol
(google/protobuf/compiler/plugin.proto). It is the foundation for both
compile-time code generation (buffa-codegen) and runtime reflection.
The types are self-hosted — generated by buffa-codegen itself — so there
is no dependency on an external protobuf library. The only runtime
dependency is buffa.
§Modules
generated::descriptor—FileDescriptorProto,DescriptorProto,FieldDescriptorProto,FeatureSet,Edition, and the rest ofdescriptor.proto.generated::compiler—CodeGeneratorRequest,CodeGeneratorResponsefromplugin.proto.
§Regenerating
The generated code is checked in. To regenerate (after a codegen output change or a protobuf version bump):
task gen-bootstrap-typesModules§
- generated
- Generated protobuf descriptor types.