From 3988df8463eb51ab5a31396758d496d6f682a68c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 7 Sep 2023 15:19:56 +0300 Subject: [PATCH] deny: Update and skip examples / tutorials Part-of: --- deny.toml | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/deny.toml b/deny.toml index ddfaaa1ef..68bebc633 100644 --- a/deny.toml +++ b/deny.toml @@ -1,3 +1,8 @@ +exclude = [ + "examples", + "tutorials", +] + [advisories] db-path = "~/.cargo/advisory-db" db-urls = ["https://github.com/rustsec/advisory-db"] @@ -8,16 +13,7 @@ ignore = [] [licenses] unlicensed = "deny" -allow = [ - "Apache-2.0", -] -deny = [ - "GPL-1.0", - "GPL-2.0", - "GPL-3.0", - "AGPL-1.0", - "AGPL-3.0", -] +default = "deny" copyleft = "deny" allow-osi-fsf-free = "either" confidence-threshold = 0.8 @@ -27,14 +23,6 @@ multiple-versions = "deny" wildcards = "allow" 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] unknown-registry = "deny" unknown-git = "deny" @@ -46,8 +34,3 @@ allow-git = [ [[bans.skip]] name = "syn" version = "1.0" - -# Various crates depend on an older version of bitflags -[[bans.skip]] -name = "bitflags" -version = "1.0"