collect_generated_basenames_from_bytes

Function collect_generated_basenames_from_bytes 

Source
pub fn collect_generated_basenames_from_bytes(
    bytes: &[u8],
) -> Result<HashSet<String>>
Expand description

Decode bytes into FileDescriptorSet and collect generated module basenames like “foo_pb2”, “foo_pb2_grpc” for each file in the set.