Expand description
Lifecycle status of one version, derived from CLE (ECMA-428) events.
Experimental: may change in a 0.x minor release.
Cle::status_for_semver applies the events of a Cle to one SemVer
version, as docs/design/cle.md describes:
- A
withdrawnevent cancels the event itseventIdnames. - An event with no
versions(and, forreleased, noversion) applies to the component as a whole. Otherwise it applies when one of its specifiers matches:{ version }by SemVer equality,{ range }byVersRange::contains_semver. - Of the applying events of one type, the highest
idwins.
An event that cannot be evaluated (a vers type that is not SemVer, a
malformed specifier, an unknown event type) is never treated as “does not
apply”: it is listed in LifecycleStatus::unevaluated. So “no end of
life recorded” and “end of life could not be evaluated” stay distinct.
Dates are reported, never compared with the clock: whether a date is in the past is for the caller to decide.
Structs§
- Lifecycle
Status - The lifecycle state of one version.
Enums§
- Unevaluated
- Why an event could not be evaluated.