Context
Some derive traits can be customized with attributes (e.g. serde, garde, etc).
While at the moment it is possible to derive an arbitrary trait at own risk with derive_unsafe, the custom attributes are still ignored.
Specification
Bypass all the macro attribute associated with the type (see the examples in the associated issues below).
No extra validation needed for this, cause the attributes will be rejected by the rust compiler (if are not used by non of the traits).
This should address the following issues:
Context
Some derive traits can be customized with attributes (e.g. serde, garde, etc).
While at the moment it is possible to derive an arbitrary trait at own risk with derive_unsafe, the custom attributes are still ignored.
Specification
Bypass all the macro attribute associated with the type (see the examples in the associated issues below).
No extra validation needed for this, cause the attributes will be rejected by the rust compiler (if are not used by non of the traits).
This should address the following issues:
serdeattributes #201