summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-26 08:29:19 +0300
committerLars Wirzenius <liw@liw.fi>2023-04-26 08:29:19 +0300
commitffe8085b7f6c21bb5ab3c9a446e77fae0df2645e (patch)
treed14d853415fd76b6d51cf967f337ed3cd5ae030f
parentb18280d6f50db17f63838cc365ac2edb89894454 (diff)
downloadhtml-page-ffe8085b7f6c21bb5ab3c9a446e77fae0df2645e.tar.gz
tests: add a config for "cargo deny"
Sponsored-by: author
-rw-r--r--deny.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/deny.toml b/deny.toml
new file mode 100644
index 0000000..2c7cebb
--- /dev/null
+++ b/deny.toml
@@ -0,0 +1,23 @@
+[advisories]
+vulnerability = "deny"
+unmaintained = "deny"
+unsound = "deny"
+yanked = "deny"
+notice = "deny"
+severity-threshold = "low"
+
+[licenses]
+unlicensed = "deny"
+allow = [
+ "MIT",
+ "MIT-0",
+]
+copyleft = "deny"
+allow-osi-fsf-free = "neither"
+default = "deny"
+confidence-threshold = 0.8
+
+[bans]
+multiple-versions = "deny"
+wildcards = "deny"
+highlight = "all"