-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Make --derive
more flexible
#237
Commits on Apr 29, 2024
-
Always generate PartialEq, Eq, PartialOrd & Ord for enums
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for b0fa42f - Browse repository at this point
Copy the full SHA b0fa42fView commit details -
Constraint automatic enum PartialEq, Eq, PartialOrd & Ord derives to …
…enums with only simple members. Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 4c7c200 - Browse repository at this point
Copy the full SHA 4c7c200View commit details
Commits on Apr 30, 2024
-
Implement --derive flag as discussed in #231
Fixes #231 Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for a0c0733 - Browse repository at this point
Copy the full SHA a0c0733View commit details -
Include link to Rust enumeration reference for information on unit-on…
…ly enums Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for b36c66f - Browse repository at this point
Copy the full SHA b36c66fView commit details -
Maintain ordering of conditionals
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 2732c4a - Browse repository at this point
Copy the full SHA 2732c4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d23b130 - Browse repository at this point
Copy the full SHA d23b130View commit details -
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 42152f3 - Browse repository at this point
Copy the full SHA 42152f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66aae3c - Browse repository at this point
Copy the full SHA 66aae3cView commit details -
No need to construct a vec just to re-construct another
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for bfeaac1 - Browse repository at this point
Copy the full SHA bfeaac1View commit details -
Simplify trait target translation
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for bbaf1f9 - Browse repository at this point
Copy the full SHA bbaf1f9View commit details -
Co-authored-by: Eirik A <sszynrae@gmail.com> Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 89cef67 - Browse repository at this point
Copy the full SHA 89cef67View commit details -
Implement parse_derive in terms of FromStr
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 1d03d22 - Browse repository at this point
Copy the full SHA 1d03d22View commit details -
Refactor derive into its own module
Fix trait derivation for structs (proving the need for tests) Re-add @clux's vec/clone refactor to reduce allocation Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 24185c0 - Browse repository at this point
Copy the full SHA 24185c0View commit details -
Sort out the logic around applicability and apply tests
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for d8c7580 - Browse repository at this point
Copy the full SHA d8c7580View commit details -
Throw in a named enum just for completeness sake
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 53b476c - Browse repository at this point
Copy the full SHA 53b476cView commit details -
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 6e30580 - Browse repository at this point
Copy the full SHA 6e30580View commit details -
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for ca3051c - Browse repository at this point
Copy the full SHA ca3051cView commit details -
Rename DeriveTarget to Target and make private
Co-authored-by: Eirik A <sszynrae@gmail.com> Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 625b5d3 - Browse repository at this point
Copy the full SHA 625b5d3View commit details -
Complete renaming of DeriveTarget to Target
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 7198c82 - Browse repository at this point
Copy the full SHA 7198c82View commit details
Commits on May 1, 2024
-
Fix table alignment after rename of DeriveTarget -> Target
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for e9dcc43 - Browse repository at this point
Copy the full SHA e9dcc43View commit details -
Fix table layouting when viewed in docs
Signed-off-by: Mathias Pius <contact@pius.io>
Configuration menu - View commit details
-
Copy full SHA for 52e4d19 - Browse repository at this point
Copy the full SHA 52e4d19View commit details