pub fn dedup_single_file_over_default_binary(
targets: Vec<CargoTarget>,
) -> Vec<CargoTarget>Expand description
Deduplicates targets by their canonicalized origin. In particular, if two targets share the same origin key and one is a SingleFile and the other is a DefaultBinary, only the SingleFile target is kept.