Skip to content

Commit 08b0011

Browse files
committed
fix: configuration error on cargo-deny
see: [Add version = 2 by Jake-Shadle · Pull Request #611 · EmbarkStudios/cargo-deny](EmbarkStudios/cargo-deny#611) previously ``` warning[deprecated]: this key will be removed in a future update, see EmbarkStudios/cargo-deny#611 for details ┌─ /mnt/nvme0n1p1/david/src/github.com/cdevents/sdk-rust/tools/cargo-deny/deny.toml:22:1 │ 22 │ vulnerability = "deny" │ ^^^^^^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see EmbarkStudios/cargo-deny#611 for details ┌─ /mnt/nvme0n1p1/david/src/github.com/cdevents/sdk-rust/tools/cargo-deny/deny.toml:21:1 │ 21 │ unmaintained = "deny" │ ^^^^^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see EmbarkStudios/cargo-deny#611 for details ┌─ /mnt/nvme0n1p1/david/src/github.com/cdevents/sdk-rust/tools/cargo-deny/deny.toml:9:1 │ 9 │ unlicensed = "deny" │ ^^^^^^^^^^ warning[deprecated]: this key will be removed in a future update, see EmbarkStudios/cargo-deny#611 for details ┌─ /mnt/nvme0n1p1/david/src/github.com/cdevents/sdk-rust/tools/cargo-deny/deny.toml:10:1 │ 10 │ copyleft = "deny" │ ^^^^^^^^ warning[license-not-encountered]: license was not encountered ┌─ /mnt/nvme0n1p1/david/src/github.com/cdevents/sdk-rust/tools/cargo-deny/deny.toml:12:32 │ 12 │ allow = ["Apache-2.0", "MIT", "BSD-2-Clause", "Unicode-DFS-2016"] │ ^^^^^^^^^^^^ unmatched license allowance advisories ok, licenses ok ``` Signed-off-by: David Bernard <david.bernard.31@gmail.com>
1 parent b778dd5 commit 08b0011

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/cargo-deny/deny.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ multiple-versions = "deny"
66
wildcards = "deny"
77

88
[licenses]
9-
unlicensed = "deny"
10-
copyleft = "deny"
119
confidence-threshold = 0.95
12-
allow = ["Apache-2.0", "MIT", "BSD-2-Clause", "Unicode-DFS-2016"]
10+
allow = ["Apache-2.0", "MIT", "Unicode-DFS-2016"]
1311
exceptions = []
1412

1513
# The unpublished packages (generator) would be ignored now
@@ -18,8 +16,6 @@ exceptions = []
1816
ignore = true
1917

2018
[advisories]
21-
unmaintained = "deny"
22-
vulnerability = "deny"
2319
yanked = "warn"
2420
# Users who require or prefer Git to use SSH cloning instead of HTTPS,
2521
# such as implemented via "insteadOf" rules in Git config, can still

0 commit comments

Comments
 (0)