Skip to main content

load_caproni_config

Function load_caproni_config 

Source
pub fn load_caproni_config(
    gc: &GlobalConfig,
) -> Result<CaproniConfig, ConfigError>
Expand description

Loads and parses the caproni.yaml configuration file. Returns a v2 CaproniConfig regardless of input version. Remote (https://) extends: fragments are fetched with a fresh super::merge::UreqFetcher; use load_caproni_config_with_fetcher to inject a different one (e.g. a wiremock-backed test double — see merge.rs’s module doc comment).