From 9d0c5935315518b2759c67a4afd606cf8dfd64d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Tue, 5 Mar 2024 14:51:42 +0100 Subject: [PATCH] chore: Update cargo-deny configuration to version 2 --- deny.toml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/deny.toml b/deny.toml index daccccbf2e5f..8b10cdb142ea 100644 --- a/deny.toml +++ b/deny.toml @@ -1,10 +1,9 @@ - +[graph] # If true, metadata will be collected with `--all-features`. all-features = true [licenses] -# The lint level for crates which do not have a detectable license -unlicensed = "deny" +version = 2 # List of explicitly allowed licenses allow = [ @@ -16,6 +15,7 @@ allow = [ "BSD-3-Clause", "ISC", "Unicode-DFS-2016", + "Unicode-3.0", "MPL-2.0", "BSL-1.0", "CC0-1.0", @@ -23,13 +23,6 @@ allow = [ "LicenseRef-UFL-1.0", ] -# List of explicitly disallowed licenses -deny = [ - "GPL-1.0", - "GPL-2.0", - "GPL-3.0", -] - # Some crates don't have (easily) machine readable licensing information, # adding a clarification entry for it allows you to manually specify the # licensing information. @@ -72,3 +65,6 @@ unknown-git = "deny" github = [ "ruffle-rs", ] + +[advisories] +version = 2