summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-12-22 20:12:25 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-12-22 20:12:26 +0100
commit4005a38a8eaa29d40dd5b828c54a071db678aff0 (patch)
treef2da6d14d0398d66c2cf8326d7b8e6c796377dd2
parentfa8fbc592ca3a42fa3e0d4114f3cbbc02b7933f5 (diff)
Add configuration for cargo-deny
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--deny.toml93
1 files changed, 93 insertions, 0 deletions
diff --git a/deny.toml b/deny.toml
new file mode 100644
index 00000000..814c9f18
--- /dev/null
+++ b/deny.toml
@@ -0,0 +1,93 @@
+[advisories]
+vulnerability = "deny"
+unmaintained = "deny"
+notice = "deny"
+
+[bans]
+multiple-versions = "deny"
+deny = [ ]
+skip = [
+ # clap uses an older version of ansi_term
+ { name = "ansi_term", version = "=0.11.0" },
+]
+
+[licenses]
+unlicensed = "deny"
+allow-osi-fsf-free = "either"
+copyleft = "deny"
+
+# We want really high confidence when inferring licenses from text
+confidence-threshold = 0.93
+
+allow = [
+ "Apache-2.0",
+ "MIT",
+ "MPL-2.0",
+]
+
+exceptions = [
+ { name = "libimagutil" , allow = ["LGPL-2.1"] },
+ { name = "libimagtimeui" , allow = ["LGPL-2.1"] },
+ { name = "libimagerror" , allow = ["LGPL-2.1"] },
+ { name = "libimagstore" , allow = ["LGPL-2.1"] },
+ { name = "libimaginteraction" , allow = ["LGPL-2.1"] },
+ { name = "libimagrt" , allow = ["LGPL-2.1"] },
+ { name = "libimagentrylink" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryurl" , allow = ["LGPL-2.1"] },
+ { name = "libimagentrytag" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryfilter" , allow = ["LGPL-2.1"] },
+ { name = "libimagentrygps" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryedit" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryview" , allow = ["LGPL-2.1"] },
+ { name = "libimagentrydatetime" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryutil" , allow = ["LGPL-2.1"] },
+ { name = "libimagentrycategory" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryref" , allow = ["LGPL-2.1"] },
+ { name = "libimagentrymarkdown" , allow = ["LGPL-2.1"] },
+ { name = "libimagentryannotation" , allow = ["LGPL-2.1"] },
+ { name = "libimagbookmark" , allow = ["LGPL-2.1"] },
+ { name = "libimagcalendar" , allow = ["LGPL-2.1"] },
+ { name = "libimaghabit" , allow = ["LGPL-2.1"] },
+ { name = "libimagnotes" , allow = ["LGPL-2.1"] },
+ { name = "libimagcontact" , allow = ["LGPL-2.1"] },
+ { name = "libimagdiary" , allow = ["LGPL-2.1"] },
+ { name = "libimaglog" , allow = ["LGPL-2.1"] },
+ { name = "libimagtimetrack" , allow = ["LGPL-2.1"] },
+ { name = "libimagtodo" , allow = ["LGPL-2.1"] },
+ { name = "libimagmail" , allow = ["LGPL-2.1"] },
+ { name = "libimagwiki" , allow = ["LGPL-2.1"] },
+ { name = "imag-habit" , allow = ["LGPL-2.1"] },
+ { name = "imag-diary" , allow = ["LGPL-2.1"] },
+ { name = "imag-calendar" , allow = ["LGPL-2.1"] },
+ { name = "imag-contact" , allow = ["LGPL-2.1"] },
+ { name = "imag-notes" , allow = ["LGPL-2.1"] },
+ { name = "imag-bookmark" , allow = ["LGPL-2.1"] },
+ { name = "imag-timetrack" , allow = ["LGPL-2.1"] },
+ { name = "imag-mail" , allow = ["LGPL-2.1"] },
+ { name = "imag-todo" , allow = ["LGPL-2.1"] },
+ { name = "imag-log" , allow = ["LGPL-2.1"] },
+ { name = "imag-wiki" , allow = ["LGPL-2.1"] },
+ { name = "imag-markdown" , allow = ["LGPL-2.1"] },
+ { name = "imag-ref" , allow = ["LGPL-2.1"] },
+ { name = "imag-gps" , allow = ["LGPL-2.1"] },
+ { name = "imag-diagnostics" , allow = ["LGPL-2.1"] },
+ { name = "imag-mv" , allow = ["LGPL-2.1"] },
+ { name = "imag-store" , allow = ["LGPL-2.1"] },
+ { name = "imag-tag" , allow = ["LGPL-2.1"] },
+ { name = "imag-grep" , allow = ["LGPL-2.1"] },
+ { name = "imag-annotate" , allow = ["LGPL-2.1"] },
+ { name = "imag-link" , allow = ["LGPL-2.1"] },
+ { name = "imag-view" , allow = ["LGPL-2.1"] },
+ { name = "imag-init" , allow = ["LGPL-2.1"] },
+ { name = "imag-edit" , allow = ["LGPL-2.1"] },
+ { name = "imag-ids" , allow = ["LGPL-2.1"] },
+ { name = "imag-id-in-collection" , allow = ["LGPL-2.1"] },
+ { name = "imag-git" , allow = ["LGPL-2.1"] },
+ { name = "imag-category" , allow = ["LGPL-2.1"] },
+ { name = "imag-header" , allow = ["LGPL-2.1"] },
+ { name = "imag-create" , allow = ["LGPL-2.1"] },
+ { name = "imag" , allow = ["LGPL-2.1"] },
+
+ { name = "tests-ui", allow = ["LGPL-2.1"] },
+ { name = "version-sync", allow = ["LGPL-2.1", "MIT"] },
+]