Skip to main content

Module declarations

Module declarations 

Source
Expand description

The first-party Vortex edition declarations, one module per edition.

These are plain constants naming components by id, so they depend on nothing but the types in this crate. That keeps them cheap to read: tooling that only needs to know what an edition contains — cargo run -p xtask -- generate-editions, for one — can depend on this crate alone rather than on the whole of vortex.

The vortex facade re-exports everything here and owns the session wiring: registering the declarations and selecting which of them the default writer may emit.

Modules§

core
The core edition family: serialized components available to the default file writer.
preview
The preview edition family: additive, opt-in components awaiting adoption into core.

Statics§

EDITION_DECLARATIONS
The first-party Vortex edition declarations.
EDITION_FAMILIES
The first-party edition families. Every family must be declared before its editions.