cargo_component

Function load_component_metadata

Source
pub fn load_component_metadata<'a>(
    metadata: &'a Metadata,
    specs: impl ExactSizeIterator<Item = &'a CargoPackageSpec>,
    workspace: bool,
) -> Result<Vec<PackageComponentMetadata<'a>>>
Expand description

Loads the component metadata for the given package specs.

If workspace is true, all workspace packages are loaded.