Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions buffa-descriptor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ json = ["buffa/json", "dep:serde", "dep:serde_json"]
text = ["buffa/text"]
## `arbitrary::Arbitrary` derive for fuzzing.
arbitrary = ["buffa/arbitrary", "dep:arbitrary"]
## Runtime reflection: `DescriptorPool`, edition feature resolution.
reflect = []
4 changes: 4 additions & 0 deletions buffa-descriptor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ extern crate alloc;
mod desc;
pub mod features;
pub mod generated;
#[cfg(feature = "reflect")]
pub mod pool;

pub use desc::{
EnumDescriptor, EnumIndex, EnumValueDescriptor, FieldDescriptor, FieldKind, MessageDescriptor,
MessageIndex, MethodDescriptor, OneofDescriptor, ScalarType, ServiceDescriptor, ServiceIndex,
SingularKind,
};
#[cfg(feature = "reflect")]
pub use pool::{DescriptorPool, PoolError};
Loading
Loading