|
|
@ -98,8 +98,9 @@ allow = [ |
|
|
|
"Apache-2.0", |
|
|
|
"BSD-3-Clause", |
|
|
|
"MIT", |
|
|
|
"ISC", |
|
|
|
"MPL-2.0", |
|
|
|
"Unicode-3.0", |
|
|
|
"Unicode-DFS-2016", |
|
|
|
] |
|
|
|
# The confidence threshold for detecting a license from license text. |
|
|
|
# The higher the value, the more closely the license text must be to the |
|
|
@ -111,26 +112,26 @@ confidence-threshold = 0.8 |
|
|
|
exceptions = [ |
|
|
|
# Each entry is the crate and version constraint, and its specific allow |
|
|
|
# list |
|
|
|
#{ allow = ["Zlib"], crate = "adler32" }, |
|
|
|
{ allow = ["OpenSSL"], crate = "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 |
|
|
|
#[[licenses.clarify]] |
|
|
|
[[licenses.clarify]] |
|
|
|
# The package spec the clarification applies to |
|
|
|
#crate = "ring" |
|
|
|
crate = "ring" |
|
|
|
# The SPDX expression for the license requirements of the crate |
|
|
|
#expression = "MIT AND ISC AND OpenSSL" |
|
|
|
expression = "MIT AND ISC AND OpenSSL" |
|
|
|
# One or more files in the crate's source used as the "source of truth" for |
|
|
|
# the license expression. If the contents match, the clarification will be used |
|
|
|
# when running the license check, otherwise the clarification will be ignored |
|
|
|
# and the crate will be checked normally, which may produce warnings or errors |
|
|
|
# depending on the rest of your configuration |
|
|
|
#license-files = [ |
|
|
|
license-files = [ |
|
|
|
# Each entry is a crate relative path, and the (opaque) hash of its contents |
|
|
|
#{ path = "LICENSE", hash = 0xbd0eed23 } |
|
|
|
#] |
|
|
|
{ path = "LICENSE", hash = 0xbd0eed23 } |
|
|
|
] |
|
|
|
|
|
|
|
[licenses.private] |
|
|
|
# If true, ignores workspace crates that aren't published, or are only |
|
|
|