-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdeny.toml
More file actions
62 lines (57 loc) · 1.45 KB
/
deny.toml
File metadata and controls
62 lines (57 loc) · 1.45 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
# cargo-deny is a tool to lint Rust dependencies for license compliance,
# security advisories, duplicate crates, and untrusted sources.
#
# It is independent of cargo-about (see about.toml), which generates license
# attribution reports for distribution. Use both: deny to gate, about to document.
#
# Config reference: https://embarkstudios.github.io/cargo-deny/checks/index.html
#
# Common tasks
#
# - Check licenses: cargo deny check licenses
# - Check advisories: cargo deny check advisories
# - Run all checks: cargo deny check
#
# FIXME:
#
# - we currently don't pass cargo deny check
# - this file is outdated and does not list all targets that we support
# - our CI system doesn't care about it currently
#
[graph]
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
]
[licenses]
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"Unicode-3.0",
"Zlib",
"MPL-2.0",
"BSD-3-Clause",
"CC0-1.0",
"bzip2-1.0.6",
#"ISC",
]
[licenses.private]
ignore = true
[bans]
multiple-versions = "warn"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
# List of URLs for allowed Git repositories
# allow-git = []
[sources.allow-org]
# github.com organizations to allow git sources for
github = []
# gitlab.com organizations to allow git sources for
gitlab = []
# bitbucket.org organizations to allow git sources for
bitbucket = []