summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2024-11-30 12:48:21 -0800
committerGravatar Anshul Gupta <ansg191@anshulg.com> 2024-11-30 12:48:21 -0800
commit8d82871049e22a82c3175981add474d20f54b5de (patch)
tree57839f2c3230c0f0123bcf9101272e61c78b65f5
parent9bb532abe62bb702390b61a24a36e8094b40b8ac (diff)
downloadkanidm-auth-plugin-8d82871049e22a82c3175981add474d20f54b5de.tar.gz
kanidm-auth-plugin-8d82871049e22a82c3175981add474d20f54b5de.tar.zst
kanidm-auth-plugin-8d82871049e22a82c3175981add474d20f54b5de.zip
Add cargo-deny
-rw-r--r--deny.toml36
1 files changed, 36 insertions, 0 deletions
diff --git a/deny.toml b/deny.toml
new file mode 100644
index 0000000..cf3197e
--- /dev/null
+++ b/deny.toml
@@ -0,0 +1,36 @@
+[licenses]
+allow = [
+ "MIT",
+ "Apache-2.0",
+ "BSD-3-Clause",
+ "ISC",
+ "Unicode-3.0"
+]
+exceptions = [
+ { allow = ["OpenSSL"], name = "ring" },
+ { allow = ["MPL-2.0"], name = "webpki-roots" },
+]
+
+[[licenses.clarify]]
+name = "ring"
+expression = "ISC AND MIT AND OpenSSL"
+license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
+
+[bans]
+multiple-versions = "deny"
+wildcards = "deny"
+
+deny = [
+ "openssl",
+ "openssl-sys"
+]
+
+skip = []
+skip-tree = [
+ "thiserror",
+ "windows-sys"
+]
+
+[sources]
+unknown-registry = "deny"
+unknown-git = "deny"