From 56d8a0e56eb2f0ec4ba28dff11c86b7eef93f701 Mon Sep 17 00:00:00 2001 From: Ame <104745335+ameknite@users.noreply.github.com> Date: Tue, 14 Nov 2023 07:51:19 -0600 Subject: [PATCH] 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 --- deny.toml | 47 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/deny.toml b/deny.toml index 83b226f459..538f10a135 100644 --- a/deny.toml +++ b/deny.toml @@ -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"