All related changes will be logged here.
- Fixing bug that erroneously removing white space from attributes For example, before, an attribute like this:
#[validate(email(message = "invalid email address")]
would be interpolated into that:
#[validate(email(message = "invalidemailaddress")]
This change addresses that and fixes it.
@fatihaziz: A new Contributor has joined.dto_mapper. A special thanks that new contributor @fatihaziz that started the work on macro attributes for struct and fields
- Adding macro attributes features on struct, existing mapped fields and new fields
- BREAKING: Remove
unstringify
library crate dependency. it is no longer required for this version. You can uninstall it by issuing this command from your project. And remove any reference of it from your code base.
cargo remove unstringify
- New computed field features added in order to create new fields from a base struct
- BREAKING: Adding required dependency for
unstringify
library crate. It requires adding this crate to your project and import it where you need to use dto_mapper macro.
- New computed field features added in order to create new fields from a base struct
- BREAKING: Adding required dependency for
derive_builder
library crate. It requires adding this crate to your project and import it where you need to use dto_mapper macro.
Initial version and publishing of dto_mapper crate.
- Adding special macro mapper for dto mapping from a base struct. You can derive a struct from an existing one in order to use it for data transfer object design patterns. It has features that no existing rust dto lib crates has exposed in order to use dto design patterns in a flexible manner like "mapstruct" from Java world.