Skip to content

Commit fbdcee3

Browse files
Remove deprecated fields in deny.toml
1 parent 7b6dc58 commit fbdcee3

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

test/deny.toml

+11-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
1-
targets = [
2-
{ triple = "x86_64-unknown-linux-gnu" },
3-
{ triple = "x86_64-pc-windows-gnu" },
4-
{ triple = "x86_64-apple-darwin" },
5-
{ triple = "aarch64-apple-darwin" }
6-
]
7-
81
# This section is considered when running `cargo deny check advisories`
92
# More documentation for the advisories section can be found here:
103
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
114
[advisories]
5+
version = 2 # https://github.com/EmbarkStudios/cargo-deny/pull/611
126
db-path = "~/.cargo/advisory-db"
137
db-urls = ["https://github.com/rustsec/advisory-db"]
148

15-
vulnerability = "deny"
16-
unmaintained = "warn"
17-
yanked = "deny"
18-
notice = "deny"
19-
209
ignore = [
2110
# Ignored audit issues. This list should be kept short, and effort should be
2211
# put into removing items from the list.
@@ -31,8 +20,7 @@ ignore = [
3120
# More documentation for the licenses section can be found here:
3221
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
3322
[licenses]
34-
# The lint level for crates which do not have a detectable license
35-
unlicensed = "deny"
23+
version = 2 # https://github.com/EmbarkStudios/cargo-deny/pull/611
3624

3725
# Adding a license here has to be done carefully. Should not be changed
3826
# by individual developers.
@@ -45,16 +33,12 @@ allow = [
4533
"BSD-3-Clause",
4634
"BSD-2-Clause",
4735
"CC0-1.0",
36+
"MPL-2.0",
4837
# https://github.com/briansmith/ring/issues/902
4938
"LicenseRef-ring",
5039
"Unicode-DFS-2016"
5140
]
5241

53-
deny = []
54-
55-
copyleft = "allow"
56-
allow-osi-fsf-free = "neither"
57-
default = "deny"
5842
confidence-threshold = 0.8
5943

6044
exceptions = []
@@ -70,7 +54,6 @@ license-files = [
7054
ignore = false
7155
registries = []
7256

73-
7457
# This section is considered when running `cargo deny check bans`.
7558
# More documentation about the 'bans' section can be found here:
7659
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
@@ -90,7 +73,6 @@ deny = [
9073
skip = []
9174
skip-tree = []
9275

93-
9476
# This section is considered when running `cargo deny check sources`.
9577
# More documentation about the 'sources' section can be found here:
9678
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
@@ -106,3 +88,11 @@ allow-git = []
10688
[sources.allow-org]
10789
# 1 or more github.com organizations to allow git sources for
10890
github = ["mullvad"]
91+
92+
[graph]
93+
targets = [
94+
{ triple = "x86_64-unknown-linux-gnu" },
95+
{ triple = "x86_64-pc-windows-gnu" },
96+
{ triple = "x86_64-apple-darwin" },
97+
{ triple = "aarch64-apple-darwin" }
98+
]

0 commit comments

Comments
 (0)