-
Notifications
You must be signed in to change notification settings - Fork 121
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
Feature: Strict mode / validation #506
Comments
that is super interesting idea. |
Sounds good :) Serde has the |
thanks. the issue i see with that attribute is that its not something i can turn on/off when running deserialize. |
@d4h0 this one feels like a good direction to me: https://github.com/dtolnay/serde-ignored |
I didn't know |
@d4h0 this is now implemented in the dev branch 0.32.11 |
@sagiegurari: Works fantastic – thank you so much! |
thanks for the feedback. |
officially released. |
@sagiegurari: Awesome, thanks again! |
Feature Description
It would be nice, if there was an option for a strict mode that validates
Makefile.toml
files.For example, I had the following task:
...and was wondering why my live-reload server didn't work.
Turned out, I missed an "n" in "command".
Describe The Solution You'd Like
Would it be possible to recognize cases like these, and fail or show a warning?
Maybe the strsim crate would be useful for nice error messages ("Unknown option 'commad', did you mean 'command'?"). But that just would be a 'nice to have', nothing essential.
Thanks, for creating
cargo make
!The text was updated successfully, but these errors were encountered: