Function rustsec::osv::ranges_for_advisory
source · pub fn ranges_for_advisory(versions: &Versions) -> Vec<OsvRange>Expand description
Returns OSV ranges for all affected versions in the given advisory.
OSV ranges are [start, end) intervals, and anything included in them is affected.
Panics if the ranges are malformed or range specification syntax is not supported,
since that has been validated on deserialization.