aboutsummaryrefslogtreecommitdiffstats
path: root/deny.toml
diff options
context:
space:
mode:
Diffstat (limited to 'deny.toml')
-rw-r--r--deny.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/deny.toml b/deny.toml
new file mode 100644
index 0000000..994369f
--- /dev/null
+++ b/deny.toml
@@ -0,0 +1,33 @@
+targets = [
+ { triple = "x86_64-unknown-linux-musl" },
+ { triple = "x86_64-unknown-linux-gnu" },
+]
+
+[advisories]
+yanked = "deny"
+unsound = "deny"
+
+[bans]
+deny = [
+ { name = "openssl-sys" },
+]
+skip = [
+ # this is pulled in by rsa -> num-bigint-dig, but it's just a build dep so
+ # i don't care much
+ { name = "autocfg", version = "0.1.7" }
+]
+
+[licenses]
+allow = ["MIT", "BSD-3-Clause", "Apache-2.0", "ISC"]
+copyleft = "deny"
+exceptions = [
+ { name = "ring", allow = ["OpenSSL", "MIT", "ISC"] }
+]
+
+[[licenses.clarify]]
+name = "ring"
+version = "*"
+expression = "MIT AND ISC AND OpenSSL"
+license-files = [
+ { path = "LICENSE", hash = 0xbd0eed23 }
+]