pub fn allows(
constraints: &[(&str, &Constraint)],
version: &Version,
excluded: &HashSet<Version>,
) -> boolExpand description
Whether version meets every semver range in constraints and is not in excluded.
Constraint::Latest allows any version; a Constraint::RefPin must have been
settled already, so it is not read here.