pub(crate) fn version_matches_range(
version: Option<&Version>,
constraints: &[String],
) -> boolExpand description
Check whether a version matches a list of OR-ed constraints.
version: the effective version to test, orNoneif unknown.constraints: the list fromfrom_rangeorto_range.
Returns true if version matches at least one entry.
Wildcard entries match any version including unknown.
Non-wildcard entries against an unknown version return false.