-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeny.toml
46 lines (41 loc) · 1.16 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
[advisories]
version = 2
yanked = "deny"
[licenses]
version = 2
include-dev = true
allow = [
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"GPL-2.0",
"ISC",
"MIT",
"Unicode-3.0",
]
# Although afsr itself is GPL-2.0-or-later, the inclusion of e2fsprogs
# effectively makes the binary output GPL-2.0-only. Thus, we cannot include any
# Apache-2.0-only dependencies, since that license is incompatible with GPL-2.0.
#
# However, this does not apply to dependencies used only in `build.rs` since the
# build script does not link any GPL-2.0-only dependencies. If, for whatever
# reason, the compiled object files of the build script need to be distributed,
# they can be distributed under GPL-3.0.
[[licenses.exceptions]]
allow = ["Apache-2.0"]
name = "clang-sys"
[bans]
multiple-versions = "warn"
multiple-versions-include-dev = true
deny = [
# https://github.com/serde-rs/serde/issues/2538
{ name = "serde_derive", version = ">=1.0.172,<1.0.184" },
]
[bans.build]
executables = "deny"
include-dependencies = true
bypass = [
{ name = "libloading", allow-globs = ["tests/nagisa*.dll"] },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"