mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
Translate database into V3 advisory format (#420)
As proposed in #240 and tracked in #414, this PR translates all advisories into the new "V3" advisory format, which is based on Markdown with leading TOML front matter. This format makes it easier to see rendered Markdown syntax descriptions, whether rendered by an IDE or GitHub. This should help with both crafting advisories initially as well as review, and ideally encourages more lengthy descriptions. Support for this format shipped in `cargo-audit` v0.12.0 on May 6th, 2020.
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-2018-0014"
|
||||
package = "chan"
|
||||
title = "chan is end-of-life; use crossbeam-channel instead"
|
||||
informational = "unmaintained"
|
||||
date = "2018-07-31"
|
||||
informational = "unmaintained"
|
||||
url = "https://github.com/BurntSushi/chan/commit/0a5c0d4ad4adc90a54ee04a427389acf2e157275"
|
||||
description = """
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
unaffected = ["> 0.1.23"]
|
||||
```
|
||||
|
||||
# chan is end-of-life; use crossbeam-channel instead
|
||||
|
||||
**`chan` has reached its end-of-life and is now deprecated.**
|
||||
|
||||
The intended successor of this crate is
|
||||
@@ -13,8 +20,3 @@ The intended successor of this crate is
|
||||
Its API is strikingly similar, but comes with a much better `select!` macro,
|
||||
better performance, a better test suite and an all-around better
|
||||
implementation.
|
||||
"""
|
||||
|
||||
[versions]
|
||||
unaffected = ["> 0.1.23"] # last release
|
||||
patched = []
|
||||
Reference in New Issue
Block a user