Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/deny.toml
6570 views
1
[graph]
2
all-features = true
3
4
[advisories]
5
version = 2
6
ignore = [
7
# paste was announced as unmaintained with no explanation or replacement
8
# See: https://rustsec.org/advisories/RUSTSEC-2024-0436
9
# Bevy relies on this in multiple indirect ways, so ignoring it is the only feasible current solution
10
"RUSTSEC-2024-0436",
11
# unmaintained: postcard -> heapless -> atomic-polyfill
12
# See https://github.com/jamesmunns/postcard/issues/223
13
"RUSTSEC-2023-0089",
14
]
15
16
[licenses]
17
version = 2
18
allow = [
19
"0BSD",
20
"Apache-2.0",
21
"Apache-2.0 WITH LLVM-exception",
22
"BSD-2-Clause",
23
"BSD-3-Clause",
24
"BSL-1.0",
25
"CC0-1.0",
26
"CDLA-Permissive-2.0",
27
"ISC",
28
"MIT",
29
"MIT-0",
30
"Unlicense",
31
"Zlib",
32
]
33
34
exceptions = [
35
{ name = "unicode-ident", allow = [
36
"Unicode-DFS-2016",
37
"Unicode-3.0",
38
] },
39
{ name = "symphonia", allow = [
40
"MPL-2.0",
41
] },
42
{ name = "symphonia-bundle-flac", allow = [
43
"MPL-2.0",
44
] },
45
{ name = "symphonia-bundle-mp3", allow = [
46
"MPL-2.0",
47
] },
48
{ name = "symphonia-codec-aac", allow = [
49
"MPL-2.0",
50
] },
51
{ name = "symphonia-codec-adpcm", allow = [
52
"MPL-2.0",
53
] },
54
{ name = "symphonia-codec-pcm", allow = [
55
"MPL-2.0",
56
] },
57
{ name = "symphonia-codec-vorbis", allow = [
58
"MPL-2.0",
59
] },
60
{ name = "symphonia-core", allow = [
61
"MPL-2.0",
62
] },
63
{ name = "symphonia-format-isomp4", allow = [
64
"MPL-2.0",
65
] },
66
{ name = "symphonia-format-riff", allow = [
67
"MPL-2.0",
68
] },
69
{ name = "symphonia-metadata", allow = [
70
"MPL-2.0",
71
] },
72
{ name = "symphonia-utils-xiph", allow = [
73
"MPL-2.0",
74
] },
75
]
76
77
[bans]
78
multiple-versions = "warn"
79
wildcards = "deny"
80
# Certain crates that we don't want multiple versions of in the dependency tree
81
deny = [
82
{ name = "ahash", deny-multiple-versions = true },
83
{ name = "android-activity", deny-multiple-versions = true },
84
{ name = "glam", deny-multiple-versions = true },
85
{ name = "raw-window-handle", deny-multiple-versions = true },
86
]
87
skip = [
88
{ name = "bevy_math", reason = "bevy_math has a path dev dependency on itself without a version" },
89
]
90
91
[sources]
92
unknown-registry = "deny"
93
unknown-git = "deny"
94
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
95
allow-git = []
96
97
# thiserror is the preferred way to derive error types
98
[[bans.features]]
99
crate = "derive_more"
100
deny = ["error"]
101
102