Merge pull request #8 from RustSec/rename-package-to-crate-name

Rename `package` TOML attribute to `crate_name`
This commit is contained in:
Tony Arcieri
2017-02-25 23:16:40 -08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[[advisory]]
id = "RUSTSEC-2017-0001"
package = "sodiumoxide"
crate_name = "sodiumoxide"
patched_versions = [">= 0.0.14"]
dwf = []
date = "2017-01-26"

View File

@@ -12,7 +12,7 @@ Each advisory contains information in [TOML] format:
```toml
[advisory]
package = "mypackage"
crate_name = "vulnerablecrate"
# Versions which were never vulnerable
unaffected_versions = ["< 1.1.0"]

View File

@@ -1,5 +1,5 @@
[advisory]
package = "sodiumoxide"
crate_name = "sodiumoxide"
patched_versions = [">= 0.0.14"]
dwf = []
date = "2017-01-26"