-
-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow rename with str|bool|int type for internally tagged enums #1392
Commits on Sep 12, 2018
-
Add new struct for enum variants values
This will enable enum variants to support in addition the type int and bool
Configuration menu - View commit details
-
Copy full SHA for 47fd94f - Browse repository at this point
Copy the full SHA 47fd94fView commit details
Commits on Sep 15, 2018
-
Add a check to prevent the use of int|bool in variant name for extern…
…al and untagged enum
Configuration menu - View commit details
-
Copy full SHA for bc1a59b - Browse repository at this point
Copy the full SHA bc1a59bView commit details
Commits on Sep 16, 2018
-
Add serde export method to support convertion from int|bool for inter…
…nally tagged enums variants
Configuration menu - View commit details
-
Copy full SHA for c9f6cae - Browse repository at this point
Copy the full SHA c9f6caeView commit details
Commits on Sep 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8c067d8 - Browse repository at this point
Copy the full SHA 8c067d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 268b8a0 - Browse repository at this point
Copy the full SHA 268b8a0View commit details
Commits on Oct 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 791822b - Browse repository at this point
Copy the full SHA 791822bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c08234b - Browse repository at this point
Copy the full SHA c08234bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b127a17 - Browse repository at this point
Copy the full SHA b127a17View commit details
Commits on Nov 28, 2018
-
deserialize identifiers with the correct deserializer instead of usin…
…g deserialize_identifier
Configuration menu - View commit details
-
Copy full SHA for b495c5b - Browse repository at this point
Copy the full SHA b495c5bView commit details -
Remove unreachable pattern in deserialize::visit_bool
Generate the true|false arms to avoid pattern true|false not covered error when the enum has only true or false arms
Configuration menu - View commit details
-
Copy full SHA for c754e6b - Browse repository at this point
Copy the full SHA c754e6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95344ca - Browse repository at this point
Copy the full SHA 95344caView commit details
Commits on Dec 6, 2018
-
Add guard on fields when we generate the serde_deserializer
We verify if the len > 0 to avoid a runtime failure
Configuration menu - View commit details
-
Copy full SHA for 1d0146b - Browse repository at this point
Copy the full SHA 1d0146bView commit details