summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2024-03-26 10:28:21 +0100
committerLinus Färnstrand <linus@mullvad.net>2024-03-26 10:44:46 +0100
commit555a80eaa32155df80855de3f6b605fd0776a932 (patch)
treefd95bc9730e6e8110f1b72a01e0dda9e54ac04af
parentd8ec7ceb1fc00ffd97c431a0b51a8c89391ec49a (diff)
downloadmullvadvpn-555a80eaa32155df80855de3f6b605fd0776a932.tar.xz
mullvadvpn-555a80eaa32155df80855de3f6b605fd0776a932.zip
Update [advisories] section of our deny.toml files to version 2
-rw-r--r--deny.toml10
-rw-r--r--test/deny.toml6
2 files changed, 2 insertions, 14 deletions
diff --git a/deny.toml b/deny.toml
index 65a7ee1fbb..16fdb8fc6b 100644
--- a/deny.toml
+++ b/deny.toml
@@ -21,14 +21,8 @@ targets = [
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
-db-path = "~/.cargo/advisory-db"
-db-urls = ["https://github.com/rustsec/advisory-db"]
-
-vulnerability = "deny"
-unmaintained = "warn"
+version = 2 # https://github.com/EmbarkStudios/cargo-deny/pull/611
yanked = "deny"
-notice = "deny"
-
ignore = [
# Ignored audit issues. This list should be kept short, and effort should be
# put into removing items from the list.
@@ -36,8 +30,6 @@ ignore = [
"RUSTSEC-2023-0079"
]
-#severity-threshold =
-
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
diff --git a/test/deny.toml b/test/deny.toml
index 9eccdc9272..9c6ebcbc46 100644
--- a/test/deny.toml
+++ b/test/deny.toml
@@ -14,16 +14,12 @@ targets = [
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
version = 2 # https://github.com/EmbarkStudios/cargo-deny/pull/611
-db-path = "~/.cargo/advisory-db"
-db-urls = ["https://github.com/rustsec/advisory-db"]
-
+yanked = "deny"
ignore = [
# Ignored audit issues. This list should be kept short, and effort should be
# put into removing items from the list.
]
-#severity-threshold =
-
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here: