pub fn pack(
packages: &[ResolvedPackage],
strategy: &PackingStrategy,
popularity: Option<&PopularityMap>,
catalog: Option<&LayerCatalog>,
) -> Vec<LayerGroup>Expand description
Group packages into layer groups according to strategy.
The caller is responsible for appending the meta layer and entrypoint layer after the returned groups.