Function wildland_cargo_lib::api::config::parse_config
source · [−]pub fn parse_config(
raw_content: Vec<u8>
) -> Result<CargoConfig, SingleVariantError<ParseConfigError>>
Expand description
Parses bytes representing JSON formatted configuration of super::CargoLib
into an instance of CargoConfig
The settings
must be a string with JSON formatted configuration.