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

Allow --exclude to be specified in deny.toml #312

Closed
luser opened this issue Dec 7, 2020 · 1 comment · Fixed by #315
Closed

Allow --exclude to be specified in deny.toml #312

luser opened this issue Dec 7, 2020 · 1 comment · Fixed by #315
Labels
enhancement New feature or request

Comments

@luser
Copy link
Contributor

luser commented Dec 7, 2020

Our Rust codebase has crates for Android and iOS support and a third one we call shared-mock which is a pure-Rust platform for testing the non-platform-specific parts of our codebase. Unfortunately that crate pulls in a lot of dependencies so it can do native windowing, which results in us dealing with warnings and errors from cargo deny that aren't really important for us to address. I found that I can use cargo deny --exclude=shared-mock check to avoid this problem, but that requires us to always pass that argument. That means that anyone else running the tool needs to know to pass that argument, which is unfortunate.

I'd like it if we could specify the --exclude= option in deny.toml, so that anyone running cargo deny check on our codebase will get the same results.

@luser luser added the enhancement New feature or request label Dec 7, 2020
@Jake-Shadle
Copy link
Member

Yup, seems reasonable. 👍

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
2 participants