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
66
67
68
69
70
71
72
73
74
75
76
77
78
# cargo-deny configuration
#
# Run with `cargo deny check` (install via `cargo install cargo-deny`).
# Enforces license, banned crate, and duplicate-version policies on the
# whole dependency graph. CI gates merges on this passing.
[]
# Check the union of features so optional subsystems are visible to
# the audit. Targets the current host triple plus the Tier-1 ones we
# ship to.
= true
= [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
[]
= 1
# ---------------------------------------------------------------------
# Advisories — RustSec advisory database (vulnerabilities, yanked
# versions, unmaintained crates).
# ---------------------------------------------------------------------
[]
= "~/.cargo/advisory-db"
= ["https://github.com/rustsec/advisory-db"]
= "warn"
# Add `RUSTSEC-YYYY-NNNN` ids here only when a finding is genuinely
# unactionable for this crate (e.g. dev-only path through an
# unmaintained transitive that has no semver-compatible upgrade).
# Every entry must be justified in a comment next to it.
= []
# ---------------------------------------------------------------------
# Licenses — only ship under licenses we can vendor in commercial
# products. Confidence threshold guards against ambiguous SPDX strings.
# ---------------------------------------------------------------------
[]
= 0.93
= [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"ISC",
"MIT",
"MIT-0",
"MPL-2.0",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
]
= []
# ---------------------------------------------------------------------
# Bans — banned crates, wildcards, and duplicate versions.
# ---------------------------------------------------------------------
[]
= "warn"
= "deny"
= "all"
= []
= []
= []
= []
# ---------------------------------------------------------------------
# Sources — only allow crates from the official registry. Block
# arbitrary git or alternative-registry sources.
# ---------------------------------------------------------------------
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]
= []