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 support for imports.exclude #310

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Conversation

mystor
Copy link
Collaborator

@mystor mystor commented Aug 25, 2022

This is a fairly straightforward implementation of imports.exclude. The
configuration option is already documented in the book. After changing
this configuration value, you'll need to update imports.lock by running
a successful cargo vet without --locked (or by running cargo vet regenerate imports).

I also added some validation to help catch outdated imports.lock files
when running with --locked. These will never fire when unlocked, as
imports.lock will be automatically updated in those cases.

Fixes #80

This is a fairly straightforward implementation of imports.exclude. The
configuration option is already documented in the book. After changing
this configuration value, you'll need to update imports.lock by running
a successful `cargo vet` without `--locked` (or by running `cargo vet
regenerate imports`).

I also added some validation to help catch outdated `imports.lock` files
when running with `--locked`. These will never fire when unlocked, as
`imports.lock` will be automatically updated in those cases.

Fixes mozilla#80
@bholley bholley merged commit 4d2cc70 into mozilla:main Aug 25, 2022
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.

implement imports.exclude
2 participants