From 70e562f8264ebe417895b2f386af3ac01943775a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Thu, 15 Dec 2022 15:51:21 +0100 Subject: [PATCH 1/3] Fix cargo-deny failing on webc crate --- deny.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/deny.toml b/deny.toml index a9e3f9a4007..ab9d6b757df 100644 --- a/deny.toml +++ b/deny.toml @@ -155,6 +155,7 @@ wildcards = "allow" highlight = "all" # List of crates that are allowed. Use with care! allow = [ + { name = "webc" }, #{ name = "ansi_term", version = "=0.11.0" }, ] # List of crates to deny From 6c949a9478a6ca30232f433153015cd7fa6d335b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 16 Dec 2022 09:19:25 +0100 Subject: [PATCH 2/3] Alternate way to fix cargo-deny on webc crate licence --- deny.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index ab9d6b757df..c3d2796c27e 100644 --- a/deny.toml +++ b/deny.toml @@ -155,7 +155,6 @@ wildcards = "allow" highlight = "all" # List of crates that are allowed. Use with care! allow = [ - { name = "webc" }, #{ name = "ansi_term", version = "=0.11.0" }, ] # List of crates to deny @@ -170,6 +169,7 @@ deny = [ ] # Certain crates/versions that will be skipped when doing duplicate detection. skip = [ + { name = "webc" }, { name = "ahash", version = "=0.4.7" }, { name = "hashbrown", version = "=0.9.1" }, { name = "cfg-if", version = "=0.1.10" }, From b46e583ca482d8db11af3bc3dda424fe7e10555b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 16 Dec 2022 09:56:50 +0100 Subject: [PATCH 3/3] Added comment on why webc is on the skip list of cargo-deny --- deny.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index c3d2796c27e..839d4e4090b 100644 --- a/deny.toml +++ b/deny.toml @@ -169,7 +169,7 @@ deny = [ ] # Certain crates/versions that will be skipped when doing duplicate detection. skip = [ - { name = "webc" }, + { name = "webc" }, # licence is not fetched correctly and end up as unknown { name = "ahash", version = "=0.4.7" }, { name = "hashbrown", version = "=0.9.1" }, { name = "cfg-if", version = "=0.1.10" },