diesel_cli_ext
diesel_cli_ext copied to clipboard
Suggestion: per-table derive modification
Related to https://github.com/abbychau/diesel_cli_ext/issues/30 and https://github.com/abbychau/diesel_cli_ext/issues/27.
It would be nice if one could modify the derives for certain tables!
In a add/remove kind of way:
--derive-mod "table_name +AdditionalTrait"
--derive-mod "table_name -DontDeriveThisTrait"
This modifies the list of derives specified with -d
, for the given table_name's struct.