From f5e71063d77ae44a51e09f0b49db8d73d48d7eaf Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sun, 7 Jan 2024 22:55:24 +0100 Subject: [PATCH] Add cargo-deny configuration --- deny.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 deny.toml diff --git a/deny.toml b/deny.toml new file mode 100644 index 000000000..54e754997 --- /dev/null +++ b/deny.toml @@ -0,0 +1,22 @@ +[licenses] +# We want really high confidence when inferring licenses from text +confidence-threshold = 0.93 +unused-allowed-license = "allow" # don't warn for unused licenses in this list +allow = [ + "BSD-2-Clause", + "BSD-3-Clause", + "BSL-1.0", + "GPL-2.0", + "ISC", + "LGPL-2.0", + "MIT", + "MPL-2.0", + "PSF-2.0", + "Unicode-DFS-2016", + "WTFPL", + "Zlib", +] + +[sources.allow-org] +# 1 or more github.com organizations to allow git sources for +github = ["fish-shell"] \ No newline at end of file