-
Notifications
You must be signed in to change notification settings - Fork 562
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
Reduce how much code is generated #745
base: master
Are you sure you want to change the base?
Commits on Jul 4, 2022
-
refactor: Factor out whitespace skipping into helpers
Should hopefully reduce the amount of code being generated
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 1a739c1 - Browse repository at this point
Copy the full SHA 1a739c1View commit details -
refactor: Add next_char_or_error
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for b01ff91 - Browse repository at this point
Copy the full SHA b01ff91View commit details -
Move more non-generic code out of the generic path
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for fcd4dc1 - Browse repository at this point
Copy the full SHA fcd4dc1View commit details -
Move eat_char into the _until function
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 57dc798 - Browse repository at this point
Copy the full SHA 57dc798View commit details -
Move even more code out of the generic deserialize_struct
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for b9540a7 - Browse repository at this point
Copy the full SHA b9540a7View commit details -
Move recursion checking out of the generic path
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 3e0d096 - Browse repository at this point
Copy the full SHA 3e0d096View commit details -
Factor out non-generic parts of next_element_seed
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for b63097f - Browse repository at this point
Copy the full SHA b63097fView commit details -
Factor out non-generic parts of next_key_seed
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 3c327b0 - Browse repository at this point
Copy the full SHA 3c327b0View commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 4e98512 - Browse repository at this point
Copy the full SHA 4e98512View commit details -
Move non-generic code out of deserialize_any
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for e6216e6 - Browse repository at this point
Copy the full SHA e6216e6View commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 1ca5734 - Browse repository at this point
Copy the full SHA 1ca5734View commit details -
Avoid using map in generic functions
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 061247b - Browse repository at this point
Copy the full SHA 061247bView commit details -
refactor: Add helpers for serializing begin/end key/object
Avoids generating duplicates of the map_err per key/value type
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 52259b9 - Browse repository at this point
Copy the full SHA 52259b9View commit details -
Move out code from the generic string deserialization methods
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 87d36a5 - Browse repository at this point
Copy the full SHA 87d36a5View commit details -
Shrink deserialize_struct a bit more
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 322f8c4 - Browse repository at this point
Copy the full SHA 322f8c4View commit details -
refactor: Factor out the duplicated variant serialization
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 5d5ad07 - Browse repository at this point
Copy the full SHA 5d5ad07View commit details -
refactor: add begin/end_string helpers
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 33ef802 - Browse repository at this point
Copy the full SHA 33ef802View commit details -
refactor: Avoid a tri! in commonly instantiated code
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 5cf7a6f - Browse repository at this point
Copy the full SHA 5cf7a6fView commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for cacd1b7 - Browse repository at this point
Copy the full SHA cacd1b7View commit details -
Further extract code out of deserialize_any
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 6fd698c - Browse repository at this point
Copy the full SHA 6fd698cView commit details -
refactor: Extract parse_option
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 9f16c61 - Browse repository at this point
Copy the full SHA 9f16c61View commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for d28a020 - Browse repository at this point
Copy the full SHA d28a020View commit details -
Extract helpers to reduce map_err calls
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for f77905a - Browse repository at this point
Copy the full SHA f77905aView commit details -
refactor: Remove unnecessary tri! calls
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 760ccb2 - Browse repository at this point
Copy the full SHA 760ccb2View commit details -
refactor: Extract a less generic part of deserialize_number
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 9956638 - Browse repository at this point
Copy the full SHA 9956638View commit details -
refactor: Extract code from deserialize_enum
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 0f15688 - Browse repository at this point
Copy the full SHA 0f15688View commit details -
refactor: De-duplicate the recursion checking
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 60cdfbd - Browse repository at this point
Copy the full SHA 60cdfbdView commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 4de41fd - Browse repository at this point
Copy the full SHA 4de41fdView commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 9e56187 - Browse repository at this point
Copy the full SHA 9e56187View commit details -
Extract prefixes for deserialize_seq and map
Markus Westerlind authored and Markus Westerlind committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 010eb7c - Browse repository at this point
Copy the full SHA 010eb7cView commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 2067058 - Browse repository at this point
Copy the full SHA 2067058View commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 0fa7a8f - Browse repository at this point
Copy the full SHA 0fa7a8fView commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for f595267 - Browse repository at this point
Copy the full SHA f595267View commit details -
Markus Westerlind authored and Markus Westerlind committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 60e4ac2 - Browse repository at this point
Copy the full SHA 60e4ac2View commit details