Function parse_proto_schema
Source pub fn parse_proto_schema(path: &Path) -> Result<ProtobufSchema>
Expand description
Parse a Protobuf schema from a .proto file
§Arguments
path - Path to .proto file
§Returns
Parsed ProtobufSchema or error (rejects proto2 syntax)