mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

Remove metadata dep_kinds duplicates. In `cargo metadata`, an entry could appear multiple times in the `dep_kinds` array if it is used by multiple workspace members with different features activated. This fixes it by de-duplicating the entries. This is kinda related to `cargo metadata` not handling workspaces and features very well. But workspaces and features are a bit awkward overall. Fixes #7752