mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
Migrate all advisories to V2 format (closes #228)
As announced in #228, this commit migrates all advisories to the new V2 format, which splits version information into a separate section, and now has a structure which corresponds to the internal code structure of the `rustsec` crate. This is a breaking change for users of `cargo-audit` < 0.9, and anyone who has written a 3rd party advisory format parser.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
[advisory]
|
||||
id = "RUSTSEC-2019-0024"
|
||||
package = "rustsec-example-crate"
|
||||
patched_versions = [">= 1.0.0"]
|
||||
date = "2019-10-08"
|
||||
url = "https://github.com/RustSec/advisory-db/issues/158"
|
||||
title = "Test advisory with associated example crate"
|
||||
@@ -23,3 +22,6 @@ identical to the v0.0.1 release)
|
||||
[v0.0.1]: https://crates.io/crates/rustsec-example-crate/0.0.1
|
||||
[v1.0.0]: https://crates.io/crates/rustsec-example-crate/1.0.0
|
||||
"""
|
||||
|
||||
[versions]
|
||||
patched = [">= 1.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user