Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always do version check #75

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Always do version check #75

merged 2 commits into from
Jan 24, 2024

Conversation

Jake-Shadle
Copy link
Member

Previously we checked if there were multiple resolved dependencies with the same name and marked them as duplicates, and thus did an additional version check when resolving edges so that the correct duplicate version was selected, however this didn't account for cases where the dependency was not actually resolved by cargo due to feature selection (and possibly kind eg dev), which could cause the incorrect dependency to be selected. This makes it so we eat the cost of parsing the semver and just always match on it, which is unfortunate, but gets rid of this edge case and potentially others.

Resolves: #74

@Jake-Shadle Jake-Shadle merged commit 7cd76b3 into main Jan 24, 2024
6 checks passed
@Jake-Shadle Jake-Shadle deleted the fix-dupes-again branch January 24, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unreachable code entered
1 participant