From 5cba463f8063b45756ca1591eec8005594827408 Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Sat, 24 Feb 2024 16:59:49 +0900 Subject: [PATCH] chore: update cargo-deny config to v2 New configuration layouts were introduced for _advisories_ and _licenses_ sections. These will become the default at some point and it's good to adopt early. --- deny.toml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index 56ed385..be521ce 100644 --- a/deny.toml +++ b/deny.toml @@ -1,7 +1,18 @@ +[graph] all-features = true +[advisories] +version = 2 + [licenses] -allow-osi-fsf-free = "both" +version = 2 +allow = [ + "Apache-2.0", + "BSD-2-Clause", + "BSD-3-Clause", + "ISC", + "MIT", +] exceptions = [ { allow = ["MPL-2.0"], name = "option-ext" }, { allow = ["Unicode-DFS-2016"], name = "unicode-ident" },