forked from gfx-rs/wgpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.deny.toml
More file actions
57 lines (50 loc) · 1.79 KB
/
Copy path.deny.toml
File metadata and controls
57 lines (50 loc) · 1.79 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
[graph]
# This configuration is tuned for the published `wgpu`/`naga` library crates and
# their dependencies *only* -- the skip/ignore/allow entries below assume that
# scope. The binaries, tests, examples, and tooling in this workspace pull in many
# more dependencies that would produce false-positive advisory/ban/license noise.
exclude-unpublished = true
# Dev dependencies are not relevant to the published library crates, so we ignore them.
exclude-dev = true
[bans]
multiple-versions = "deny"
skip-tree = [{ name = "rustc-hash", version = "1.1.0" }]
skip = [
# naga -> petgraph uses an old version
{ name = "hashbrown", version = "0.15.5" },
# Used by hashbrown 0.15.5
{ name = "foldhash", version = "0.1.5" },
# naga depends on hashbrown 0.16 directly, while naga -> indexmap pulls hashbrown 0.17
{ name = "hashbrown", version = "0.16.1" },
# wgpu-hal -> drm -> drm-sys uses an older version, while wgpu-hal -> drm -> rustix uses a newer one
{ name = "linux-raw-sys", version = "0.9.4" },
]
wildcards = "deny"
allow-wildcard-paths = true
[advisories]
ignore = [
# `paste` crate is no longer maintained https://rustsec.org/advisories/RUSTSEC-2024-0436
# It's a transitive dependency of `wgpu-core` via `macro_rules_attribute`.
# https://github.com/gfx-rs/wgpu/issues/7873
"RUSTSEC-2024-0436",
# `bincode` is no longer maintained https://rustsec.org/advisories/RUSTSEC-2025-0141
# We only use it directly for tests and tools. It is also used indirectly via deno.
"RUSTSEC-2025-0141",
]
[licenses]
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"Unicode-3.0",
"Zlib",
]
private = { ignore = true }
[sources]
unknown-registry = "deny"
unknown-git = "deny"
required-git-spec = "rev"
[sources.allow-org]
github = []