Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.38 KB

CHANGELOG.md

File metadata and controls

37 lines (24 loc) · 1.38 KB

Changelog

0.3.1 (2021-12-22)

  • Import all items from parent scope when generating structs in submodule. (#9)

0.3.0 (2021-12-18)

  • #[evt(derive(..))] on enum adds derives on every variant. (#6, #7)
  • #[evt(module = "module1")] generates structs inside mod module1. (#5, #7)
  • #[evt(implement_marker_traits(MarkerTrait1))] on enum generates impl MarkerTrait1 for all generated structs. (#7)

0.2.1 (2021-04-24)

  • no-std support by default. (#2, #3)

0.2.0 (2020-01-13)

  • Allow variants to be skipped using #[evt(skip)].
  • Breaking: #[evt(..)] specifies the attributes to attach to the generated type (previously #[evt_attr(..)]).

0.1.0 (2020-01-10)

  • Generates unit, tuple, named struct for each enum variant.
  • impl From<EnumVariantType> for Enum.
  • impl TryFrom<Enum, Error = Enum> for EnumVariantType.
  • #[cfg(..)], #[doc = ".."], #[allow(..)], #[deny(..)] attributes are copied from the variant.
  • #[evt_attr(..)] specifies the attributes to attach to the generated type.