From 910c2c48f29180d911f76859d6a1561f37ee0154 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Fri, 2 Aug 2024 17:52:59 -0400 Subject: [PATCH] Update `cargo-deny` to version `2` This new version removed some keys that we were using, namely the `unlicense` and `copyleft` keys. These fields are now set to `deny` by default as long as `version = 2` is set. See https://github.com/EmbarkStudios/cargo-deny/pull/611. --- deny.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/deny.toml b/deny.toml index 277786485..7221a0a1a 100644 --- a/deny.toml +++ b/deny.toml @@ -1,6 +1,7 @@ [licenses] -# The lint level for crates which do not have a detectable license -unlicensed="deny" + +# Note that with this version we `deny` the `unlicense` and `copyleft` licenses. +version=2 # List of explicitly allowed licenses # See https://spdx.org/licenses/ for list of possible licenses @@ -18,9 +19,6 @@ allow=[ "MPL-2.0", ] -# Lint level for licenses considered copyleft -copyleft="deny" - # If true, ignores workspace crates that aren't published, or are only # published to private registries. # To see how to mark a crate as unpublished (to the official registry),