pub fn parse_config(contents: &str, path: &Path) -> ConfigFileExpand description
Parse TOML content into a ConfigFile.
Uses a two-pass strategy: first tries strict parsing (to detect unknown keys), then falls back to lenient parsing if strict fails due to unknown fields.