Expand description
Version requirement matching abstractions.
Provides traits and implementations for version requirement matching across different package ecosystems (semver, PEP 440, etc.).
Structs§
- Pep440
Matcher - PEP 440 version matcher for PyPI dependencies.
- Semver
Matcher - Semver-based version matcher for Cargo and npm.
Traits§
- Version
Requirement Matcher - Generic version requirement matcher.
Functions§
- extract_
pypi_ min_ version - Extract the minimum version number from a PEP 440 version specifier.
- normalize_
and_ parse_ version - Normalize a version string and parse it as semver.