mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Update cargo deny (#12178)
# Objective Cargo-deny has being updated and now some keys are being deprecated. Fix these warnings: <details> ```rs warning[deprecated]: this key will be removed in a future update, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for details ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:6:1 │ 6 │ vulnerability = "deny" │ ^^^^^^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for details ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:7:1 │ 7 │ unmaintained = "deny" │ ^^^^^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for details ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:9:1 │ 9 │ notice = "deny" │ ^^^^^^ warning[deprecated]: this key will be removed in a future update, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for details ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:13:1 │ 13 │ unlicensed = "deny" │ ^^^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for details ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:14:1 │ 14 │ copyleft = "deny" │ ^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for details ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:15:1 │ 15 │ default = "deny" │ ^^^^^^^ warning[deprecated]: this key has been moved to [graph] ┌─ /Users/ameknite/code/rust/repos/bevy/deny.toml:1:1 │ 1 │ all-features = true │ ^^^^^^^^^^^^ ``` </details> This also fix ci by temporarily skipping the check for cpal dependencies. https://github.com/bevyengine/bevy/issues/11917#issuecomment-1953629729 ## Solution - Remove keys deprecated. - Update the list of licenses allowed. (All these licenses are already being use for some dependencies) - Skip cpal dependencies to avoid falining in CI, while we wait for new releases https://github.com/bevyengine/bevy/issues/11917#issuecomment-1953629729
This commit is contained in:
parent
f8f8bdd4aa
commit
499c978176
1 changed files with 26 additions and 19 deletions
45
deny.toml
45
deny.toml
|
@ -1,33 +1,34 @@
|
|||
[graph]
|
||||
all-features = true
|
||||
|
||||
[advisories]
|
||||
db-path = "~/.cargo/advisory-db"
|
||||
db-urls = ["https://github.com/rustsec/advisory-db"]
|
||||
vulnerability = "deny"
|
||||
unmaintained = "deny"
|
||||
yanked = "deny"
|
||||
notice = "deny"
|
||||
version = 2
|
||||
ignore = []
|
||||
|
||||
[licenses]
|
||||
unlicensed = "deny"
|
||||
copyleft = "deny"
|
||||
default = "deny"
|
||||
version = 2
|
||||
allow = [
|
||||
"0BSD",
|
||||
"Apache-2.0",
|
||||
"Apache-2.0 WITH LLVM-exception",
|
||||
"BSD-2-Clause",
|
||||
"BSD-3-Clause",
|
||||
"BSL-1.0",
|
||||
"CC0-1.0",
|
||||
"ISC",
|
||||
"MIT",
|
||||
"MIT-0",
|
||||
"Apache-2.0",
|
||||
"BSD-3-Clause",
|
||||
"ISC",
|
||||
"Unlicense",
|
||||
"Zlib",
|
||||
"0BSD",
|
||||
"BSD-2-Clause",
|
||||
"CC0-1.0",
|
||||
]
|
||||
|
||||
exceptions = [
|
||||
{ name = "unicode-ident", allow = [
|
||||
"Unicode-DFS-2016",
|
||||
] },
|
||||
{ name = "symphonia", allow = [
|
||||
"MPL-2.0",
|
||||
] },
|
||||
{ name = "symphonia-bundle-flac", allow = [
|
||||
"MPL-2.0",
|
||||
] },
|
||||
|
@ -52,7 +53,7 @@ exceptions = [
|
|||
{ name = "symphonia-format-isomp4", allow = [
|
||||
"MPL-2.0",
|
||||
] },
|
||||
{ name = "symphonia-format-wav", allow = [
|
||||
{ name = "symphonia-format-riff", allow = [
|
||||
"MPL-2.0",
|
||||
] },
|
||||
{ name = "symphonia-metadata", allow = [
|
||||
|
@ -61,9 +62,6 @@ exceptions = [
|
|||
{ name = "symphonia-utils-xiph", allow = [
|
||||
"MPL-2.0",
|
||||
] },
|
||||
{ name = "symphonia", allow = [
|
||||
"MPL-2.0",
|
||||
] },
|
||||
]
|
||||
|
||||
[bans]
|
||||
|
@ -76,6 +74,15 @@ deny = [
|
|||
{ name = "glam", deny-multiple-versions = true },
|
||||
{ name = "raw-window-handle", deny-multiple-versions = true },
|
||||
]
|
||||
# To avoid https://github.com/bevyengine/bevy/issues/11917
|
||||
# = raw-window-handle v0.5.2
|
||||
# └── ndk v0.7.0
|
||||
# ├── cpal v0.15.2`
|
||||
# │ └── rodio v0.17.3
|
||||
# │ └── bevy_audio v0.14.0-dev
|
||||
skip-tree = [
|
||||
{ crate = "cpal@0.15.2", reason = "Waiting for new releases: https://github.com/bevyengine/bevy/issues/11917#issuecomment-1953629729" },
|
||||
]
|
||||
|
||||
[sources]
|
||||
unknown-registry = "deny"
|
||||
|
|
Loading…
Reference in a new issue