Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 11:25
· 3 commits to main since this release

StructPack v0.3.0

Diff since v0.2.0

Breaking changes

  • SetContextFormat has been renamed to ContextFormat.

New features

  • @pack now accepts the special syntax F[C] for formats, which translates to ContextFormat{C, F}.
  • @pack can now be used to conveniently declare type parameter types and type parameter formats, which is necessary for packing and unpacking of types with type parameters.

Fixes

  • Improved test coverage and documentation for the @pack macro.
  • Fixed a bug by which core formats would ignore contexts for destruct.
  • Export the symbol FloatFormat, which was missed in version 0.2.