pub fn load(path: &Path) -> Result<Config, Vec<Diagnostic>>
Load and validate a project configuration.