Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
52 lines (49 loc) · 1.42 KB
/
Copy pathdeny.toml
File metadata and controls
52 lines (49 loc) · 1.42 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
# cargo-deny 0.20.2 policy. Empty targets evaluates every target-specific
# dependency represented by Cargo.lock; all-features includes optional edges.
[graph]
targets = []
all-features = true
[advisories]
version = 2
yanked = "deny"
ignore = []
[licenses]
version = 2
include-dev = true
include-build = true
unused-allowed-license = "deny"
unused-license-exception = "deny"
confidence-threshold = 0.8
# cargo-deny evaluates SPDX expressions existentially across OR and
# conjunctively across AND: a permissive OR branch may be selected, but every
# obligation in the selected branch must be allowed.
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"bzip2-1.0.6",
"CC0-1.0",
"ISC",
"MIT",
"MIT-0",
"Unicode-3.0",
"Zlib",
]
# Copyleft exceptions stay package-scoped: distributions disclose source
# availability in the native addon's notices
# (packages/natives/THIRD-PARTY-NOTICES.txt) rather than globally admitting
# copyleft dependencies.
exceptions = [
# uluru (via pi-vcs → jj-lib → gix → gix-pack) is MPL-2.0: file-level
# copyleft, satisfied by upstream source availability; no obligations
# attach to our unmodified use.
{ allow = ["MPL-2.0"], crate = "uluru@3.1.0" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []