pub struct Edition {
pub id: EditionId,
pub min_library_version: Option<&'static str>,
}Expand description
An edition: a named set of serialized components that can acquire a read-compatibility
guarantee, registered with EditionSession::declare_edition.
The set itself is computed from the registered EditionInclusions by
EditionSession::components_in.
Fields§
§id: EditionIdThe edition identifier. For a core edition, its date records when it freezes.
min_library_version: Option<&'static str>The minimum version of the edition family’s EditionFamily::origin whose reader
supports every member of this edition.
A stable edition may freeze in the release that cuts it. Until that release is cut, its
version is not known and this remains None. The version is then backfilled to document
the already completed freeze and identify the first released reader supporting every
member. A draft has no recorded read-forever guarantee; that does not imply that its
behavior is expected to change.
Validated against the members’ EditionInclusion::required_vortex_release values:
no member may require a version newer than the edition declares.