pub fn parse_config<T: DeserializeOwned>(
contents: &str,
format: ConfigFormat,
) -> Result<T, ConfigError>Expand description
Parses a typed configuration value from JSON, JSON5, TOML, or YAML.
${VAR} and $VAR references are expanded from the process environment before parsing.