-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore: Use cargo-no-dev-deps to check msrv #1570
Conversation
7204378
to
8f22932
Compare
How is this different from just using |
It can remove the effect to |
Can you elaborate a little bit? Why is that important (how do we rely upon it here)? I've implemented this using |
It is important to test in an environment as close as possible to the environment in which it will be actually released. Let's consider the following example. A project depends on Although such an example may seem trivial, one of the important roles of testing is to prepare for such risks. |
@LucioFranco any thoughts on the trade-off here? It's nice to avoid dev-deps for MSRV checks but it feels to me like the extra complexity of depending on an external tool is probably not worth it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@djc to me it seems fine to depend on a tool by the author of that one. We can always revert this back pretty easily later. I think this makes a lot of sense.
Motivation
Removes the effects from
dev-dependencies
to MSRV, and makes easier to specify public crates for checking.Solution
Uses
cargo-no-dev-deps
to check msrv.