Skip to main content

parse_schema

Function parse_schema 

Source
pub fn parse_schema(
    schema_bytes: &[u8],
    root_message: &str,
) -> Result<ParsedSchema, SchemaError>
Expand description

Parse a compiled .pb descriptor into a ParsedSchema.

Re-exported from schema for convenience so callers only need to import from the crate root.