Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
65 lines (57 loc) · 1.6 KB
/
Copy pathdeny.toml
File metadata and controls
65 lines (57 loc) · 1.6 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
63
64
65
# Fluxheim dependency policy.
#
# Fluxheim is an EUPL-1.2 project. Third-party dependencies are checked with a
# narrow allow-list so incompatible or unclear licenses fail early.
[graph]
all-features = true
[licenses]
confidence-threshold = 0.95
include-dev = true
include-build = true
unused-allowed-license = "allow"
unused-license-exception = "deny"
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-1-Clause",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"EUPL-1.2",
"ISC",
"MIT",
"MIT-0",
"Unicode-3.0",
"Zlib",
]
exceptions = [
# TLS root stores can carry reviewed data licenses. Keep exceptions narrow;
# do not globally allow CDLA-Permissive-2.0 for code.
{ allow = ["CDLA-Permissive-2.0"], crate = "webpki-root-certs" },
{ allow = ["CDLA-Permissive-2.0"], crate = "webpki-roots" },
# The opt-in rustls/AWS-LC FIPS build path pulls the validated native
# aws-lc-fips-sys module, whose upstream license expression includes
# OpenSSL. Keep this exception scoped to that crate instead of globally
# allowing OpenSSL-licensed dependencies.
{ allow = ["OpenSSL"], crate = "aws-lc-fips-sys" },
]
[licenses.private]
ignore = true
[bans]
multiple-versions = "allow"
wildcards = "allow"
highlight = "all"
[advisories]
db-path = ".cargo-deny-advisory-dbs"
yanked = "deny"
unmaintained = "workspace"
unsound = "workspace"
unused-ignored-advisory = "deny"
ignore = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
required-git-spec = "rev"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []