Function protobuf_parse::pure::parse_dependencies
source · pub fn parse_dependencies(
content: &str
) -> Result<FileDescriptorProto, ParserErrorWithLocation>
Expand description
Parse imports from a .proto
file.
The result is FileDescriptorProto
object with only *dependency
fields filled.