Expand description
Merging multiple CrateDatas from different compilation targets into one.
Structsยง
- Crate
Merger ๐ - IdRef
Mapper ๐Visitor - Visitor that remaps references to the given items.
- Item
Deduplicator ๐ - Orchestrates deduplication of items across compilation targets.
- Target
Group ๐ - A set of items that share the same base name and item kind. These are candidates for merging into a single cross-target item.
- Target
Group Id
Enumsยง
- Merge
Decision ๐ - How a
TargetGroupshould be merged.
Functionsยง
- merge
- Merge per-target
CrateDatas into a singleCrateData. - normalize_
item ๐ - Normalize an item for cross-target comparison.
- normalize_
name_ ๐for_ grouping - Normalize a name for grouping across targets; returns the target.