Skip to content

Releases: tylium/unit-enum

1.5.0

04 Mar 17:07

Choose a tag to compare

Added

  • Make name, ordinal, from_ordinal, discriminant, from_discriminant, and len const-friendly by generating them as const fn
  • Document the minimum supported Rust version (MSRV) as Rust 1.71 and add a section describing const usage in the documentation

1.4.3

20 May 07:40

Choose a tag to compare

Fixed

  • Removed unnecessary type casts that were causing clippy warnings

1.4.2

17 May 09:55

Choose a tag to compare

Added

  • Add documentation and funding links
  • Setup GitHub actions

1.4.1

18 Nov 14:47

Choose a tag to compare

Fixed

Update documentation examples to ignore code blocks so client tests are not impacted

1.4.0

28 Oct 21:47

Choose a tag to compare

  • Support for #[repr(type)]
  • Support for Other variant

1.3.0

15 Jul 15:44

Choose a tag to compare

  • Add name() method

1.2.0

05 Jul 09:29

Choose a tag to compare

  • Add discriminant() and from_discriminant(num) methods

1.1.0

05 Jul 09:28

Choose a tag to compare

  • Add values() method and document all methods in UnitEnum macro

1.0.0

17 Mar 13:45

Choose a tag to compare

Initial Release