forked from EmbarkStudios/texture-synthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeny.toml
55 lines (48 loc) · 1.3 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
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
unmaintained = "deny"
ignore = [
"RUSTSEC-2022-0004",
"RUSTSEC-2021-0127",
]
[bans]
multiple-versions = "allow"
deny = [
# color-backtrace is nice but brings in too many dependencies and that are often outdated, so not worth it for us.
{ name = "color-backtrace" },
# dirs crate has a lot of dependencies and there are better alternatives
{ name = "dirs" },
{ name = "dirs-sys" },
# deprecated
{ name = "quickersort" },
# term is not fully maintained, and termcolor is replacing it
{ name = "term" },
]
skip = [
]
[licenses]
unlicensed = "deny"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.92
allow = [
"Apache-2.0",
"MIT",
]
exceptions = [
{ allow = ["BSD-3-Clause"], name = "bindgen" },
{ allow = ["ISC"], name = "libloading" },
{ allow = ["Zlib"], name = "adler32" },
{ allow = ["Zlib"], name = "bytemuck" },
{ allow = ["WTFPL"], name = "xkbcommon-sys" },
{ allow = ["WTFPL"], name = "xkb" },
]
[sources]
unknown-git = "deny"
allow-git = [
"https://github.com/EmbarkStudios/img_hash.git",
]