check for all-features with cargo-deny (#10544)

# Objective

Fix #9880

## Solution

- Add all-features flag 
- Allow "MPL-2.0" license for the
[Symphonia](https://github.com/pdeljanov/Symphonia) crates
- Update dependencies unmaintained or with vulnerabilities:
https://github.com/RustAudio/rodio/issues/517 ,
https://github.com/LiquidityC/slice_ring_buffer/pull/7
This commit is contained in:
Ame 2023-11-14 07:51:19 -06:00 committed by GitHub
parent 719b30a719
commit 56d8a0e56e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,5 @@
all-features = true
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
@ -5,12 +7,12 @@ vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
ignore = [
]
ignore = []
[licenses]
unlicensed = "deny"
copyleft = "deny"
default = "deny"
allow = [
"MIT",
"MIT-0",
@ -23,9 +25,46 @@ allow = [
"CC0-1.0",
]
exceptions = [
{ name = "unicode-ident", allow = ["Unicode-DFS-2016"] },
{ name = "unicode-ident", allow = [
"Unicode-DFS-2016",
] },
{ name = "symphonia-bundle-flac", allow = [
"MPL-2.0",
] },
{ name = "symphonia-bundle-mp3", allow = [
"MPL-2.0",
] },
{ name = "symphonia-codec-aac", allow = [
"MPL-2.0",
] },
{ name = "symphonia-codec-adpcm", allow = [
"MPL-2.0",
] },
{ name = "symphonia-codec-pcm", allow = [
"MPL-2.0",
] },
{ name = "symphonia-codec-vorbis", allow = [
"MPL-2.0",
] },
{ name = "symphonia-core", allow = [
"MPL-2.0",
] },
{ name = "symphonia-format-isomp4", allow = [
"MPL-2.0",
] },
{ name = "symphonia-format-wav", allow = [
"MPL-2.0",
] },
{ name = "symphonia-metadata", allow = [
"MPL-2.0",
] },
{ name = "symphonia-utils-xiph", allow = [
"MPL-2.0",
] },
{ name = "symphonia", allow = [
"MPL-2.0",
] },
]
default = "deny"
[bans]
multiple-versions = "warn"