Skip to main content

Crate type_history_macros

Crate type_history_macros 

Source
Expand description

Macros for declaring histories and describing supporting field types.

Most applications import versioned and Schema from type-history. This crate connects those macros to the shared generator and the package’s frozen schema ledger.

Attribute Macros§

versioned
Generate numbered structs and an alias for the current version.

Derive Macros§

Schema
Describe how a supporting record, nonempty tuple struct, or enum is serialized.