Skip to main content

cargo_release_profile_config

Function cargo_release_profile_config 

Source
pub fn cargo_release_profile_config<'a>(
    metadata: &CargoMetadata,
) -> Result<HashSet<&'a str>, MetadataError>
Expand description

Attempt to read the release profile section in the Cargo manifest. Cargo metadata doesn’t expose profile information, so we try to read it from the Cargo.toml file directly.