Support derive for enums, add ability to skip field type from is_type_tracked#14
Support derive for enums, add ability to skip field type from is_type_tracked#14CertainLach wants to merge 2 commits into
Conversation
1124cc2 to
a3f194e
Compare
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
a3f194e to
810a9ad
Compare
|
Thanks. Recursive structure is a known issue. Is changing |
|
It isn't limitation of synstructure, but easing of implementation, as it is harder to implement parsing of Forgot about i changed this while making this PR, will implement original style of this attribute |
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
|
Well, it was hard to implement prettier syntax using synstructure, and because everyone implements synstructure subset in own crates nowadays, i created this abdomination To use advantages of new macro implementation i also added |
is_type_tracked causes issue in this case:
Because it expands to
It causes stack overflow
To address this issue, i added additional filter for derive:
ignore_tracking: