Skip to content
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

Remove fix functionality #423

Merged
merged 2 commits into from
May 17, 2022
Merged

Remove fix functionality #423

merged 2 commits into from
May 17, 2022

Conversation

Jake-Shadle
Copy link
Member

@Jake-Shadle Jake-Shadle commented May 17, 2022

This cargo-deny fix functionality was only added when there was the potential for cargo-deny to supplant cargo-audit, which is no longer the case. This functionality was quite a lot of code, minimally tested, and increased compile times (mostly because of toml_edit which is super slow to compile for some reason), all for a feature that, at least anecdotally, is not really useful, as any moderately complex dependency graph is unlikely to be patchable to fix an advisory, as the advisory either has no available fix, or if it does, 1 or more dependencies are stuck on an old version and requires supplying PRs and publishing new releases anyways. It's just not worth it to be honest.

This functionality was only added when there was the potential for
cargo-deny to supplant cargo-audit, which is no longer the case. This
functionality was quite a lot of code, minimally tested and increased
compile times (toml_edit), all for a feature that, at least
anecdotally, is not really useful as any moderately complex dependency
graph is unlikely to be patchable.
@Jake-Shadle Jake-Shadle merged commit d068512 into main May 17, 2022
@Jake-Shadle Jake-Shadle deleted the remove-fix branch May 17, 2022 12:45
@06kellyjac
Copy link
Contributor

always nice to see dead code being trimmed. 🚀

Where can I read up on the "potential for cargo-deny to supplant cargo-audit, which is no longer the case." bit if you don't mind my asking?

@Jake-Shadle
Copy link
Member Author

#194 was the original issue.

@BatmanAoD BatmanAoD mentioned this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants