From 96159ce1221d3dd6b60f15cb702bf51a5dd9d6bb Mon Sep 17 00:00:00 2001 From: Sophie Herold Date: Thu, 16 May 2024 23:13:01 +0200 Subject: [PATCH] CI: Update deny to version 2 config --- deny.toml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/deny.toml b/deny.toml index 0dbc57a..f8c2870 100644 --- a/deny.toml +++ b/deny.toml @@ -1,20 +1,19 @@ [advisories] +version = 2 yanked = "deny" - -# A list of advisory IDs to ignore. Note that ignored advisories will still -# output a note when they are encountered. ignore = [ + #"RUSTSEC-0000-0000", ] -# This section is considered when running `cargo deny check licenses` -# More documentation for the licenses section can be found here: -# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html [licenses] -copyleft = "allow" -# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses -# * both - The license will be approved if it is both OSI-approved *AND* FSF -# * either - The license will be approved if it is either OSI-approved *OR* FSF -# * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF -# * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved -# * neither - This predicate is ignored and the default lint level is used -allow-osi-fsf-free = "either" +version = 2 +allow = [ + "Apache-2.0 WITH LLVM-exception", + "Apache-2.0", + "BSD-2-Clause", + "GPL-3.0", + "ISC", + "LGPL-2.1", + "MIT", + "Unicode-DFS-2016", +]