deny: Update and skip examples / tutorials

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
This commit is contained in:
Sebastian Dröge 2023-09-07 15:19:56 +03:00
parent 8c40e8b5b8
commit 2507d8262f

View file

@ -1,3 +1,8 @@
exclude = [
"examples",
"tutorials",
]
[advisories] [advisories]
db-path = "~/.cargo/advisory-db" db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"] db-urls = ["https://github.com/rustsec/advisory-db"]
@ -8,16 +13,7 @@ ignore = []
[licenses] [licenses]
unlicensed = "deny" unlicensed = "deny"
allow = [ default = "deny"
"Apache-2.0",
]
deny = [
"GPL-1.0",
"GPL-2.0",
"GPL-3.0",
"AGPL-1.0",
"AGPL-3.0",
]
copyleft = "deny" copyleft = "deny"
allow-osi-fsf-free = "either" allow-osi-fsf-free = "either"
confidence-threshold = 0.8 confidence-threshold = 0.8
@ -27,14 +23,6 @@ multiple-versions = "deny"
wildcards = "allow" wildcards = "allow"
highlight = "all" highlight = "all"
# Various cocoa crates are in the middle of updating to newer versions
[[bans.skip]]
name = "foreign-types"
version = "0.3"
[[bans.skip]]
name = "foreign-types-shared"
version = "0.1"
[sources] [sources]
unknown-registry = "deny" unknown-registry = "deny"
unknown-git = "deny" unknown-git = "deny"
@ -46,8 +34,3 @@ allow-git = [
[[bans.skip]] [[bans.skip]]
name = "syn" name = "syn"
version = "1.0" version = "1.0"
# Various crates depend on an older version of bitflags
[[bans.skip]]
name = "bitflags"
version = "1.0"