## load_toml_config

# Function load_toml_config

Source

    fn load_toml_config(
        src: &Path,
        config_path: Option<PathBuf>,
        get_toml: &impl Fn(&Path) -> Result<TomlConfig, Error>,
    ) -> (TomlConfig, Option<PathBuf>)

Expand description

Loads bootstrap TOML config and returns the config together with a path from where it was loaded. `src` is the source root directory, and `config_path` is an optionally provided path to the config.