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

fix: sort fetched crate versions #156

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Conversation

nazo6
Copy link
Contributor

@nazo6 nazo6 commented Feb 20, 2025

First, thanks for this plugin! It's very useful.

The last updated version is not necessarily the latest version. (e.g., the latest version of usbd-hid is currently 0.8.2, but was last updated to 0.7.1).
This creates a warning diagnosis to the wrong latest version.

To solve this problem, the fetched crate versions are now sorted by semver.

@saecki
Copy link
Owner

saecki commented Feb 20, 2025

Thanks for the PR! I've updated it a bit to also sort by build-metadata

@saecki saecki merged commit 1803c8b into saecki:main Feb 20, 2025
1 check passed
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.

2 participants