forked from bottlerocket-os/bottlerocket-settings-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
57 lines (51 loc) · 1.83 KB
/
deny.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[licenses]
version = 2
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
# Commented license types are allowed but not currently used
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
# "CC0-1.0",
"ISC",
"MIT",
# "OpenSSL",
# "Unlicense",
"Zlib",
]
exceptions = [
{ name = "generational-arena", allow = ["MPL-2.0"] },
{ name = "unicode-ident", allow = ["MIT", "Apache-2.0", "Unicode-DFS-2016"] },
{ name = "icu_collections", allow = ["Unicode-3.0"] },
{ name = "icu_locid", allow = ["Unicode-3.0"] },
{ name = "icu_locid_transform", allow = ["Unicode-3.0"] },
{ name = "icu_locid_transform_data", allow = ["Unicode-3.0"] },
{ name = "icu_normalizer", allow = ["Unicode-3.0"] },
{ name = "icu_normalizer_data", allow = ["Unicode-3.0"] },
{ name = "icu_properties", allow = ["Unicode-3.0"] },
{ name = "icu_properties_data", allow = ["Unicode-3.0"] },
{ name = "icu_provider", allow = ["Unicode-3.0"] },
{ name = "icu_provider_macros", allow = ["Unicode-3.0"] },
{ name = "litemap", allow = ["Unicode-3.0"] },
{ name = "tinystr", allow = ["Unicode-3.0"] },
{ name = "writeable", allow = ["Unicode-3.0"] },
{ name = "yoke", allow = ["Unicode-3.0"] },
{ name = "yoke-derive", allow = ["Unicode-3.0"] },
{ name = "zerofrom", allow = ["Unicode-3.0"] },
{ name = "zerofrom-derive", allow = ["Unicode-3.0"] },
{ name = "zerovec", allow = ["Unicode-3.0"] },
{ name = "zerovec-derive", allow = ["Unicode-3.0"] },
]
[bans]
# Deny multiple versions or wildcard dependencies.
wildcards = "deny"
skip = [
# abi_stable is using an older version of syn
{ name = "syn", version = "1" },
]
[bans.workspace-dependencies]
duplicates = "deny"
include-path-dependencies = true
unused = "deny"