|
1 |
| -# This section is considered when running `cargo deny check licenses` |
2 |
| -# More documentation for the licenses section can be found here: |
3 |
| -# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html |
4 | 1 | [licenses]
|
5 |
| -# The lint level for crates which do not have a detectable license |
| 2 | +copyleft = "warn" |
| 3 | +allow-osi-fsf-free = "neither" |
| 4 | +default = "deny" |
6 | 5 | unlicensed = "deny"
|
7 |
| -# List of explicitly allowed licenses |
8 |
| -# See https://spdx.org/licenses/ for list of possible licenses |
9 |
| -# [possible values: any SPDX 3.11 short identifier (+ optional exception)]. |
| 6 | +confidence-threshold = 0.8 |
10 | 7 | allow = [
|
11 | 8 | "WTFPL",
|
12 | 9 | "MIT",
|
| 10 | + "MPL-2.0", |
13 | 11 | "Apache-2.0",
|
14 | 12 | "BSD-3-Clause",
|
15 | 13 | "Unicode-DFS-2016",
|
16 | 14 | ]
|
17 |
| -# List of explicitly disallowed licenses |
18 |
| -# See https://spdx.org/licenses/ for list of possible licenses |
19 |
| -# [possible values: any SPDX 3.11 short identifier (+ optional exception)]. |
20 |
| -deny = [ |
21 |
| - #"Nokia", |
22 |
| -] |
23 |
| -# Lint level for licenses considered copyleft |
24 |
| -copyleft = "warn" |
25 |
| -# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses |
26 |
| -# * both - The license will be approved if it is both OSI-approved *AND* FSF |
27 |
| -# * either - The license will be approved if it is either OSI-approved *OR* FSF |
28 |
| -# * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF |
29 |
| -# * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved |
30 |
| -# * neither - This predicate is ignored and the default lint level is used |
31 |
| -allow-osi-fsf-free = "neither" |
32 |
| -# Lint level used when no other predicates are matched |
33 |
| -# 1. License isn't in the allow or deny lists |
34 |
| -# 2. License isn't copyleft |
35 |
| -# 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither" |
36 |
| -default = "deny" |
37 |
| -# The confidence threshold for detecting a license from license text. |
38 |
| -# The higher the value, the more closely the license text must be to the |
39 |
| -# canonical license text of a valid SPDX license file. |
40 |
| -# [possible values: any between 0.0 and 1.0]. |
41 |
| -confidence-threshold = 0.8 |
0 commit comments