Crate stackable_versioned

Source
Expand description

This crate enables versioning of structs and enums through procedural macros.

Currently supported versioning schemes:

  • Kubernetes API versions (eg: v1alpha1, v1beta1, v1, v2), with optional support for generating CRDs.

Support will be extended to SemVer versions, as well as custom version formats in the future.

See versioned for an in-depth usage guide and a list of supported arguments.

Structs§

  • Contains a changed value for a single field of the CRD.
  • Contains changed values during upgrades and downgrades of CRDs.

Enums§

  • This error indicates that converting an object from a conversion review to the desired version failed.
  • This error indicates that parsing an object from a conversion review failed.

Attribute Macros§

  • This macro enables generating versioned structs and enums.