Skip to content

Commit

Permalink
chore: deny.toml: update to version 2 of cargo deny config tables
Browse files Browse the repository at this point in the history
Also fix all warnings and remove no longer needed parts.
  • Loading branch information
istankovic committed Oct 31, 2024
1 parent 143bb76 commit 6aebbbe
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[graph]
targets = [
# Desktop
{ triple = "x86_64-unknown-linux-gnu" },
Expand All @@ -19,28 +20,19 @@ targets = [
]

[advisories]
vulnerability = "deny"
version = 2
ignore = [
# ? `sodiumoxide` is only used in tests
"RUSTSEC-2021-0137",
# ? There's no fix currently for the Marvin attack
# - https://github.com/RustCrypto/RSA/issues/390
# -https://github.com/RustCrypto/RSA/pull/394
"RUSTSEC-2023-0071",
# ? Only used in webdriver-installation
"RUSTSEC-2023-0072"
# `sodiumoxide` is only used in tests
"RUSTSEC-2021-0137"
]

[bans]
multiple-versions = "allow"

[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "both"
copyleft = "allow"
unused-allowed-license = "warn"
confidence-threshold = 0.93
allow = ["Apache-2.0", "MIT", "MPL-2.0", "GPL-3.0", "CC0-1.0"]
version = 2
allow = ["Apache-2.0", "MIT", "MPL-2.0", "GPL-3.0", "CC0-1.0", "BSD-3-Clause",
"Apache-2.0 WITH LLVM-exception", "ISC", "Zlib"]
exceptions = [
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
]
Expand All @@ -50,12 +42,5 @@ name = "pkiprocmacros"
expression = "Apache-2.0 OR MIT"
license-files = []

[[licenses.clarify]]
name = "encoding_rs"
expression = "MIT OR Apache-2.0"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]

[sources.allow-org]
github = ["wireapp"]

0 comments on commit 6aebbbe

Please sign in to comment.