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 rustsec crate advisory for breaking changes to advisory format #415

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Oct 1, 2020

In theory this advisory should trigger this feature of cargo-audit which checks for advisories filed against the rustsec crate:

https://github.com/RustSec/cargo-audit/blob/783f221/src/auditor.rs#L178-L199

After merging, I will test with an older cargo-audit version to see if it has the intended effect.

In theory this advisory should trigger this feature of `cargo-audit`
which checks for advisories filed against the `rustsec` crate:

https://github.com/RustSec/cargo-audit/blob/783f221/src/auditor.rs#L178-L199

After merging, I will test with an older `cargo-audit` version to see if
it has the intended effect.
@tarcieri tarcieri merged commit bfa9e12 into master Oct 1, 2020
@tarcieri tarcieri deleted the v3-format-warning branch October 1, 2020 15:19
@tarcieri
Copy link
Member Author

tarcieri commented Oct 1, 2020

It worked!

warning: this copy of cargo-audit has known advisories!

Crate:  rustsec
Title:  Obsolete versions of the `rustsec` crate do not support the new V3 advisory format
Date:   2020-10-01
URL:    https://rustsec.org/advisories/RUSTSEC-2020-0051
warning: upgrade cargo-audit to the latest version: cargo install --force cargo-audit

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.

1 participant