From 05ca4e73f030de58190711b1b927a4e3482ffc7f Mon Sep 17 00:00:00 2001 From: nerdalytics <97166791+nerdalytics@users.noreply.github.com> Date: Mon, 21 Sep 2026 22:08:55 +0200 Subject: [PATCH] docs(deny): correct what denies an undeterminable license The comment I added in #89 said the `allow` list rejects a crate whose license cannot be determined. It does not. EmbarkStudios/cargo-deny#611 made `deny` the new default for `unlicensed`, and that default is what the removed key was configuring. The outcome was right, the stated mechanism was not. Also restores the space in `allow = [`, which #89 dropped by accident. Signed-off-by: nerdalytics <97166791+nerdalytics@users.noreply.github.com> --- deny.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deny.toml b/deny.toml index cfe5301e..cc012de4 100644 --- a/deny.toml +++ b/deny.toml @@ -14,8 +14,8 @@ unknown-git = "warn" github = ["*"] [licenses] -# `unlicensed` was removed in cargo-deny (EmbarkStudios/cargo-deny#611): a -# crate whose license cannot be determined now fails against `allow` below, -# which is what this key asked for anyway. -allow =["MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Unicode-3.0"] +# `unlicensed` was removed in cargo-deny (EmbarkStudios/cargo-deny#611), which +# made `deny` the new default for a crate whose license cannot be determined. +# Dropping the key changes nothing about the outcome. +allow = ["MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Unicode-3.0"] confidence-threshold = 0.8