Closed NobodyXu closed 3 weeks ago
While yanked versions should not be selected in the latest and omitted versions (this is already implemented), I don't think they should be disallowed from being used when explicitly specified. As far as I know, cargo is also moving in that direction: https://github.com/rust-lang/cargo/pull/13974
Thanks, yeah I can understand that decision.
In that case, how about storing the yanked information in manifest, and then default to skip the yanked version, while allowing user to override that behavior?
default to skip the yanked version
Unless you explicitly specify the full version (tool: <tool>@<major>.<minor>.<patch>
), this is already the default.
I think it is good to warn if the yanked version is explicitly selected, but I don't think we should change the version on our own.
Thank you!
In the cronjob, we could check for yanked crates and remove them from this action.