v0.2.0
New Features
-
Field Property Renaming:
- Renamed the field property from
impl
tointo
.
- Renamed the field property from
-
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.
- Added
-
New "expr" Property Variants:
- Added
expr!(EXPR)
. - Added
expr(TYPE -> EXPR)
.
- Added
-
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.