forked from cbgbt/bottlerocket-forest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
79 lines (71 loc) · 3.12 KB
/
deny.toml
File metadata and controls
79 lines (71 loc) · 3.12 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[licenses]
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
# Commented license types are allowed but not currently used
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MPL-2.0",
"OpenSSL",
"Unicode-3.0",
"Unlicense",
"Zlib",
]
exceptions = [
]
[bans]
# Deny multiple versions or wildcard dependencies.
multiple-versions = "deny"
wildcards = "deny"
deny = [
{ name = "openssl", wrappers = [] },
{ name = "openssl-sys", wrappers = [] },
{ name = "native-tls", wrappers = [] },
]
skip-tree = [
]
skip = [
{ name = "supports-color", reason = "owo-colors depends on two different versions of supports-color" },
{ name = "hashbrown", reason = "rusqlite and toml use different versions" },
{ name = "windows-sys", reason = "jni and dirs-sys use different versions" },
{ name = "windows-targets", reason = "transitive from windows-sys" },
{ name = "windows_aarch64_gnullvm", reason = "transitive from windows-sys" },
{ name = "windows_aarch64_msvc", reason = "transitive from windows-sys" },
{ name = "windows_i686_gnu", reason = "transitive from windows-sys" },
{ name = "windows_i686_msvc", reason = "transitive from windows-sys" },
{ name = "windows_x86_64_gnu", reason = "transitive from windows-sys" },
{ name = "windows_x86_64_gnullvm", reason = "transitive from windows-sys" },
{ name = "windows_x86_64_msvc", reason = "transitive from windows-sys" },
{ name = "windows_i686_gnullvm", reason = "transitive from windows-sys" },
{ name = "base64", reason = "tokenizers and reqwest use different versions" },
{ name = "console", reason = "indicatif versions from tokenizers and hf-hub" },
{ name = "core-foundation", reason = "system-configuration and rustls-platform-verifier use different versions" },
{ name = "darling", reason = "derive_builder and bon use different versions" },
{ name = "darling_core", reason = "transitive from darling" },
{ name = "darling_macro", reason = "transitive from darling" },
{ name = "dirs", reason = "hf-hub uses newer version than workspace" },
{ name = "dirs-sys", reason = "transitive from dirs" },
{ name = "getrandom", reason = "rand 0.9 and ring use different versions" },
{ name = "indicatif", reason = "tokenizers uses newer version than workspace" },
{ name = "redox_users", reason = "transitive from dirs-sys" },
{ name = "reqwest", reason = "hf-hub and brdev use different versions" },
{ name = "thiserror", reason = "candle and older deps use different versions" },
{ name = "thiserror-impl", reason = "transitive from thiserror" },
{ name = "unicode-width", reason = "miette and console use different versions" },
{ name = "webpki-roots", reason = "ureq and hyper-rustls use different versions" },
]
[bans.workspace-dependencies]
duplicates = "deny"
include-path-dependencies = true
unused = "allow"
[sources]
# Deny crates from unknown registries or git repositories.
unknown-registry = "deny"
unknown-git = "deny"