-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
53 lines (47 loc) · 1.33 KB
/
Copy pathdeny.toml
File metadata and controls
53 lines (47 loc) · 1.33 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
# cargo-deny configuration for E-SCPE supply-chain security.
# Install: cargo install cargo-deny
# Run: cargo deny check
#
# Docs: https://embarkstudios.github.io/cargo-deny/
[advisories]
# vulnerability, unsound, and notice are now always errors (removed fields).
# unmaintained: "all" | "workspace" | "transitive" | "none"
unmaintained = "workspace"
yanked = "warn"
[licenses]
# All licenses are denied unless explicitly allowed.
# The removed fields (unlicensed, copyleft, deny, default, allow-osi-fsf-free)
# are no longer needed -- deny-by-default is the only mode.
allow = [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"OpenSSL",
"CC0-1.0",
]
# Our own crate uses a custom (non-SPDX) license.
exceptions = [
{ crate = "escpe", allow = ["LicenseRef-Proprietary"] },
]
# ring uses a combination of licenses.
[[licenses.clarify]]
crate = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0x001c7e6c },
]
[bans]
# Deny multiple versions of the same crate to keep binary size down.
multiple-versions = "warn"
wildcards = "deny"
[sources]
# Only allow crates from crates.io.
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []