[−][src]Module pubgrub::range
Ranges are constraints defining sets of versions.
Concretely, those constraints correspond to any set of versions representable as the concatenation, union, and complement of the ranges building blocks.
Those building blocks are:
- none(): the empty set
- any(): the set of all possible versions
- exact(v): the set containing only the version v
- higher_than(v): the set defined by
v <= versions
- strictly_lower_than(v): the set defined by
versions < v
- between(v1, v2): the set defined by
v1 <= versions < v2
Structs
Range | A Range is a set of versions. |