From 9750d614e696433c8e6ff843d8dcb60ffb7d7e9e Mon Sep 17 00:00:00 2001 From: matt rice Date: Mon, 17 Mar 2025 06:06:33 -0700 Subject: [PATCH] Fix cargo deny check license --- .buildbot.sh | 2 +- deny.toml | 3 ++- lrpar/cttests_macro/Cargo.toml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.buildbot.sh b/.buildbot.sh index 43cd14c33..3c8be270a 100644 --- a/.buildbot.sh +++ b/.buildbot.sh @@ -47,6 +47,6 @@ cd $root RUSTDOCFLAGS="-Dwarnings" cargo doc --no-deps which cargo-deny | cargo install cargo-deny || true -if [ "X`which cargo-deny`" != "X"]; then +if [ "X`which cargo-deny`" != "X" ]; then cargo-deny check license fi diff --git a/deny.toml b/deny.toml index e9cac83ff..5d9e09a6a 100644 --- a/deny.toml +++ b/deny.toml @@ -1,7 +1,8 @@ [licenses] -unlicensed = "deny" confidence-threshold = 1.0 allow = [ "Apache-2.0", "MIT", + "BSD-3-Clause", + "Unicode-3.0", ] diff --git a/lrpar/cttests_macro/Cargo.toml b/lrpar/cttests_macro/Cargo.toml index 255f07b33..0cd1aee21 100644 --- a/lrpar/cttests_macro/Cargo.toml +++ b/lrpar/cttests_macro/Cargo.toml @@ -2,6 +2,7 @@ name = "cttests_macro" version = "0.1.0" edition = "2021" +license = "Apache-2.0/MIT" [lib] proc-macro = true