True! This is executed pretty rarely, though, and I imagine we could solve the issue by making it easy to execute the command multiple times?
The lack of support on Windows (this will basically never work) makes me think that we shouldn’t try to optimize this use case. It means many users will not have an editor opened automatically, so we shouldn’t optimize for that.
True yeah, but I think the risk is still there. If a user once or twice starts seeing vulnerabilities they have no idea how to fix, then one might quickly enter the mode of “just always ignore” the messages.
I would prefer the reverse, an option to turn warnings to errors. I personally feel that breaking existing builds with a Cargo.lock, for whatever reason, is a non-starter.
Oh I just mean cargo publish --allow-vulnerable or something like that rather than modifying Cargo.toml.