try_parse_toml

Function try_parse_toml 

Source
pub fn try_parse_toml<S: AsRef<str>>(
    toml_str: S,
) -> Result<SourcesTable, SourceParseError>
Expand description

Parse the contents of a Cargo.toml file containing the package.metadata.fetch-source table into a SourcesTable map.