pub fn normalize_edition_descriptor_set(bytes: &[u8]) -> Vec<u8> ⓘExpand description
Normalize protobuf Edition 2023 descriptors to proto3 format for
compatibility with prost-reflect 0.16 which does not support editions.
Normalize a FileDescriptorSet so that any Edition 2023 files are
rewritten as proto3. Returns the original bytes unchanged if no
edition files are detected.