Skip to main content

parse_config_str

Function parse_config_str 

Source
pub fn parse_config_str(
    text: &str,
) -> Result<IndexMap<Box<str>, Box<str>>, Error>
Expand description

Parses configuration held in a string, sharing the core with parse_config for callers that already have the text in memory (for example a # Meta block extracted from a larger file).