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
# cargo-deny configuration for muri.
#
# Kept intentionally minimal and green: this gates `cargo deny check
# advisories bans sources` in .github/workflows/security.yml. The license
# allow-list is enumerated from the crate that is actually resolved for each
# dependency (`cargo deny list --layout crate`), not guessed.
[]
# Security vulnerabilities are always hard errors (cargo-deny v2 advisories:
# there is no knob to downgrade them — which is what we want).
#
# Scope the "unmaintained" check to muri's own workspace so an unmaintained
# advisory buried deep in a transitive of winit / cosmic-text / objc2 cannot
# red-wall CI for something we cannot directly fix.
= "workspace"
[]
# Every license that appears as the *chosen* license of a resolved crate in
# muri's tree (macOS + Windows + Linux targets). OR-licensed crates that offer
# a permissive option (e.g. self_cell = "Apache-2.0 OR GPL-2.0-only",
# r-efi = "MIT OR Apache-2.0 OR LGPL-2.1-or-later") resolve to the permissive
# side below, so GPL/LGPL never need allowing.
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"0BSD",
"Unicode-3.0",
"Unlicense",
]
= 0.8
[]
# muri's native-window stack carries known, benign duplicate versions
# (objc2 0.5/0.6, block2 0.5/0.6, objc2-* 0.2/0.3 via winit vs. direct deps,
# bitflags 1/2, ttf-parser 0.20/0.21, core-foundation, miniz_oxide, rustix,
# linux-raw-sys, ...). Surface them for review but do not fail on them.
= "warn"
= "allow"
[]
= "deny"
= "deny"
= ["https://github.com/rust-lang/crates.io-index"]