Skip to content

Commit

Permalink
build(cargo): update denylist
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Apr 9, 2023
1 parent ebd393b commit 450c0a1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deny.toml
Expand Up @@ -75,6 +75,7 @@ allow = [
"Zlib",
"MPL-2.0",
"0BSD",
"LicenseRef-ring", #ring
"Unicode-DFS-2016", #unicode-ident
]
# List of explictly disallowed licenses
Expand Down Expand Up @@ -102,7 +103,7 @@ default = "deny"
confidence-threshold = 0.8
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
# aren't accepted for every possible crate as with the normal allow list
exceptions = []
exceptions = [{ allow = ["BUSL-1.1"], name = "webc" }]

[[licenses.clarify]]
# The name of the crate the clarification applies to
Expand All @@ -118,6 +119,11 @@ exceptions = []
# depending on the rest of your configuration
license-files = [{ path = "COPYRIGHT", hash = 972598577 }]

[[licenses.clarify]]
expression = "LicenseRef-ring"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
name = "ring"

# Some crates don't have (easily) machine readable licensing information,
# adding a clarification entry for it allows you to manually specify the
# licensing information
Expand Down

0 comments on commit 450c0a1

Please sign in to comment.