pub fn parse_str(
raw: &str,
path_hint: impl AsRef<Path>,
) -> Result<Config, ConfigError>Expand description
Parse from an in-memory string. Useful for tests and include expansion
where we already have the bytes. path_hint shows up in error messages
when the source isn’t an on-disk file.