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

Add [package.metadata.cargo-deny] #677

Open
Jake-Shadle opened this issue Jul 25, 2024 · 0 comments
Open

Add [package.metadata.cargo-deny] #677

Jake-Shadle opened this issue Jul 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Jake-Shadle
Copy link
Member

Currently all configuration is done via deny.toml, however this makes it so that doing more localized opt in/out of particular lints etc is tedious since they need to be done globally. One idea prompted by #664 would be to add support for a package specific cargo-deny section that can make these kind of tweaks more easily, as well as just add new capabilities like those mentioned in #664, allowing dependencies to notify cargo-deny users without the user needing to update their workspace config.

Another candidate for this feature is possibly the ability to opt-out of [workspace.dependencies] lints for the crate, or 1 or more specific dependencies in the crate, as unfortunately the idea for opt-out I originally had, setting workspace = false doesn't work since cargo only allows workspace = true. That being said, I don't really have a use case that needed this functionality immediately, but I just suspect it will be complained about in weird situations that I'm not aware of.

@Jake-Shadle Jake-Shadle added the enhancement New feature or request label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant