-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
.deny.toml
61 lines (58 loc) · 2.57 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
58
59
60
61
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
yanked = "deny"
git-fetch-with-cli = true
ignore = [
]
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "warn"
wildcards = "deny"
allow-wildcard-paths = true
build.executables = "deny"
build.interpreted = "deny"
build.include-dependencies = true
build.include-workspace = false # covered by tools/tidy.sh
build.include-archives = true
build.allow-build-scripts = [
{ name = "anyhow" },
{ name = "libc" }, # via ctrlc
{ name = "nix" }, # via ctrlc
{ name = "proc-macro2" }, # via serde_derive via cargo-config2
{ name = "serde_json" },
{ name = "serde" },
{ name = "windows_aarch64_gnullvm" }, # via ctrlc & same-file & termcolor
{ name = "windows_aarch64_msvc" }, # via ctrlc & same-file & termcolor
{ name = "windows_i686_gnu" }, # via ctrlc & same-file & termcolor
{ name = "windows_i686_gnullvm" }, # via ctrlc & same-file & termcolor
{ name = "windows_i686_msvc" }, # via ctrlc & same-file & termcolor
{ name = "windows_x86_64_gnu" }, # via ctrlc & same-file & termcolor
{ name = "windows_x86_64_gnullvm" }, # via ctrlc & same-file & termcolor
{ name = "windows_x86_64_msvc" }, # via ctrlc & same-file & termcolor
]
build.bypass = [
# Import libraries are necessary because raw-dylib (requires 1.71+ for x86, 1.65+ for others) is not available on MSRV of them.
{ name = "windows_aarch64_gnullvm", allow-globs = ["lib/*.a"] }, # via ctrlc & same-file & termcolor
{ name = "windows_aarch64_msvc", allow-globs = ["lib/*.lib"] }, # via ctrlc & same-file & termcolor
{ name = "windows_i686_gnu", allow-globs = ["lib/*.a"] }, # via ctrlc & same-file & termcolor
{ name = "windows_i686_gnullvm", allow-globs = ["lib/*.a"] }, # via ctrlc & same-file & termcolor
{ name = "windows_i686_msvc", allow-globs = ["lib/*.lib"] }, # via ctrlc & same-file & termcolor
{ name = "windows_x86_64_gnu", allow-globs = ["lib/*.a"] }, # via ctrlc & same-file & termcolor
{ name = "windows_x86_64_gnullvm", allow-globs = ["lib/*.a"] }, # via ctrlc & same-file & termcolor
{ name = "windows_x86_64_msvc", allow-globs = ["lib/*.lib"] }, # via ctrlc & same-file & termcolor
]
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
unused-allowed-license = "deny"
private.ignore = true
allow = [
"Apache-2.0",
"MIT",
"Unicode-3.0", # unicode-ident
]
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = [
]