Skip to content

v0.2.0

Compare
Choose a tag to compare
@ImaMapleTree ImaMapleTree released this 29 May 16:01
· 20 commits to main since this release
78462e9

New Features

  • Field Property Renaming:

    • Renamed the field property from impl to into.
  • New Field Properties:

    • Added cloned field property: Generates a value by cloning a reference type.
    • Added iter field property: Generates a value by calling .into_iter().collect() on the passed parameter.
  • New "expr" Property Variants:

    • Added expr!(EXPR).
    • Added expr(TYPE -> EXPR).
  • Enum Support:

    • Added support for enums.
    • Variant constructors can now be renamed (or added) using the #[ctor] config on the variant branch.
    • Added ability to exclude enum variation constructor generation with #[ctor(none)].

Improvements

  • Project Restructure:
    • Restructured the project to improve organization and maintainability.

Documentation Updates

  • README:
    • Updated to reflect the new changes, including added support for enums and new field properties.

Testing

  • Test Cases:
    • Updated test cases to cover the new features and changes.