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

Support for semver::VersionReq #19

Open
justinaustin opened this issue Apr 9, 2021 · 2 comments
Open

Support for semver::VersionReq #19

justinaustin opened this issue Apr 9, 2021 · 2 comments

Comments

@justinaustin
Copy link

Hello! I was wondering if you had any plans to support a lenient-semver parser for semver::VersionReq in addition to semver::Version

@knutwalker
Copy link
Owner

Hi! There are actually plans to do this, yes. I've started a while ago in https://github.com/knutwalker/lenient-semver-range. It's not yet usable though (or correct, for that matter). Do you have a specific use case in mind?

@justinaustin
Copy link
Author

Oh nice! I'm parsing dependency declarations from the Python Package Index but unfortunately there are a ton of allowed versions that aren't compatible with semver, like 2.0dev1 and 1.2.3.4. lenient_semver::parse has provided a great solution for 90% of the Version parsing (which is perfectly acceptable for now), so much appreciated!

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

No branches or pull requests

2 participants