Skip to content

Commit

Permalink
check for all-features with cargo-deny (#10544)
Browse files Browse the repository at this point in the history
# 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:
RustAudio/rodio#517 ,
LiquidityC/slice_ring_buffer#7
  • Loading branch information
ameknite authored Nov 14, 2023
1 parent 719b30a commit 56d8a0e
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
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"
ignore = [
]
ignore = []

[licenses]
unlicensed = "deny"
copyleft = "deny"
default = "deny"
allow = [
"MIT",
"MIT-0",
Expand All @@ -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"
Expand Down

0 comments on commit 56d8a0e

Please sign in to comment.