Function wildland_cargo_lib::api::config::collect_config
source · [−]pub fn collect_config(
config_provider: &'static dyn CargoCfgProvider
) -> Result<CargoConfig, SingleVariantError<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
)