Function wildland_cargo_lib::api::config::collect_config
source · pub fn collect_config(
config_provider: Box<dyn CargoCfgProvider>
) -> Result<CargoConfig, ParseConfigError>
Expand description
Uses an implementation of CargoCfgProvider
to collect a configuration storing structure (CargoConfig
)
which then can be passed to super::cargo_lib::create_cargo_lib
in order to instantiate main API object (super::CargoLib
)