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

Ability to deny all warnings #454

Closed
Nemo157 opened this issue Sep 6, 2022 · 0 comments · Fixed by #464
Closed

Ability to deny all warnings #454

Nemo157 opened this issue Sep 6, 2022 · 0 comments · Fixed by #464
Labels
enhancement New feature or request

Comments

@Nemo157
Copy link

Nemo157 commented Sep 6, 2022

Is your feature request related to a problem? Please describe.
I want to easily deny all the things that cargo-deny considers as a warning by default in my CI jobs.

Describe the solution you'd like
Something similar to cargo check --deny=warnings. Because there's not a general purpose --deny flag this could maybe just be cargo deny check --deny-warnings.

Describe alternatives you've considered
Copy-pasting a base deny.toml into all my crates, or somehow merging it into any local config from a CI job

[advisories]
unmaintained = "deny"
yanked = "deny"
[licenses]
copyleft = "deny"
[bans]
multiple-versions = "deny"
wildcards = "deny"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
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

Successfully merging a pull request may close this issue.

1 participant