1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-31 15:40:51 +00:00

chore(cargo-deny): migrate to advisories & licenses v2 config (#5877)

This commit is contained in:
David Knaack 2024-03-29 16:40:58 +01:00 committed by GitHub
parent babf941cac
commit 940eca5867
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,20 +1,17 @@
[advisories] [advisories]
vulnerability = "deny" version = 2
unmaintained = "warn"
yanked = "warn"
notice = "warn"
# A list of advisory IDs to ignore. Note that ignored advisories will still # A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered. # output a note when they are encountered.
ignore = [ ignore = [
# "RUSTSEC-0000-0000", # { id = "RUSTSEC-0000-0000", reason = "" },
] ]
[licenses] [licenses]
# The lint level for crates which do not have a detectable license version = 2
unlicensed = "deny"
# List of explicitly allowed licenses # List of explicitly allowed licenses
allow = [ allow = [
"Apache-2.0 WITH LLVM-exception", "Apache-2.0 WITH LLVM-exception",