Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
68 lines (63 loc) · 2.53 KB
/
Copy pathdeny.toml
File metadata and controls
68 lines (63 loc) · 2.53 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
66
67
68
# Dependency policy enforced by the `cargo-deny` CI job.
[advisories]
ignore = [
# Transitive dependencies with no fixed release. Keep each advisory explicit
# so cargo-deny still fails when a new advisory reaches the workspace.
{ id = "RUSTSEC-2024-0436", reason = "paste is pulled in by rav1e; no safe upgrade is available" },
{ id = "RUSTSEC-2026-0192", reason = "ttf-parser is used by the text and SVG stacks; no maintained replacement is available yet" },
{ id = "RUSTSEC-2026-0194", reason = "affected quick-xml releases are confined to inferno profiling output and Wayland protocol generation" },
{ id = "RUSTSEC-2026-0195", reason = "affected quick-xml releases are confined to inferno profiling output and Wayland protocol generation" },
{ id = "RUSTSEC-2026-0206", reason = "rustybuzz is pulled in by usvg; no maintained replacement is available yet" },
]
[licenses]
confidence-threshold = 0.8
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"CDLA-Permissive-2.0",
"GPL-3.0-or-later",
"ISC",
"LGPL-3.0-only",
"MIT",
"MPL-2.0",
"NCSA",
"Unicode-3.0",
"Unicode-DFS-2016",
"Unlicense",
"Zlib",
]
# Inferno renders developer-requested profiling flamegraphs. Keep its CDDL
# allowance local to that tool instead of accepting CDDL for every dependency.
exceptions = [
{ allow = ["CDDL-1.0"], crate = "inferno" },
]
[bans]
multiple-versions = "warn"
# Workspace path dependencies intentionally omit versions. Keep other wildcard
# dependencies visible without rejecting the workspace's own crates.
wildcards = "warn"
highlight = "simplest-path"
[sources]
unknown-registry = "deny"
# Temporarily "warn" while the fork-pinning workflow is active: sessions
# pin crate forks in Cargo.toml (cosmic-text, winit, wgpu, zune-image, …)
# and each new one otherwise fails CI until allowlisted here. Tighten back
# to "deny" — with the accumulated allow-git entries kept — once the
# workflow ends.
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = [
"https://github.com/eval-exec/cosmic-text",
"https://github.com/eval-exec/freetype-sys",
# Pinned Wayland popup-lifetime and inner-size-hint fixes in Cargo.toml.
"https://github.com/eval-exec/winit",
# The opt-in Vulkan native-presentation timing seam (wgpu-hal).
"https://github.com/eval-exec/wgpu",
# The JPEG banding decoder fixes (zune-image).
"https://github.com/eval-exec/zune-image",
]