You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for building this awesome tool! 😄 We're currently working on integrating it into our project at Aptos Labs.
A couple feature requests that might be useful:
--ignore flag to explicitly exclude certain directories or files from verification. We currently use the --workspace flag, but some of our cargo files are automatically generated (without ordering). It would be great to tell the tool to ignore these.
--custom-error-message flag to display a custom error message when the --check command fails. Instead of just displaying error: Dependencies for <crate> are not sorted. It would be nice to display a custom message, e.g., Dependencies for <crate> are not sorted. To sort them, run <command>. For more information, visit: <cargo-sort url>.
The text was updated successfully, but these errors were encountered:
JoshLind
changed the title
[Feature Request]
[Feature Request] Ignore and custom error message flags.
May 10, 2022
Thanks! Sorry for the slow response. Both of these are great ideas! I have had feedback that the error message isn't very good (which I agree with) what do you think of just changing the error message to that, I know all the info is there (the crate)? The ignore flag is a great idea! Are you interested in making a PR I'm happy to help/review, if not I have a few things backed up at the moment but since this is a smaller more doable issue I can probably get to it in the next few days.
Hi! Thanks for building this awesome tool! 😄 We're currently working on integrating it into our project at Aptos Labs.
A couple feature requests that might be useful:
--ignore
flag to explicitly exclude certain directories or files from verification. We currently use the--workspace
flag, but some of our cargo files are automatically generated (without ordering). It would be great to tell the tool to ignore these.--custom-error-message
flag to display a custom error message when the--check
command fails. Instead of just displayingerror: Dependencies for <crate> are not sorted
. It would be nice to display a custom message, e.g.,Dependencies for <crate> are not sorted. To sort them, run <command>. For more information, visit: <cargo-sort url>
.The text was updated successfully, but these errors were encountered: