Skip to content

Commit

Permalink
chore: update cargo-deny config to v2
Browse files Browse the repository at this point in the history
New configuration layouts were introduced for _advisories_ and
_licenses_ sections. These will become the default at some point and
it's good to adopt early.
  • Loading branch information
dnaka91 committed Feb 24, 2024
1 parent e06754d commit 5cba463
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
[graph]
all-features = true

[advisories]
version = 2

[licenses]
allow-osi-fsf-free = "both"
version = 2
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
]
exceptions = [
{ allow = ["MPL-2.0"], name = "option-ext" },
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
Expand Down

0 comments on commit 5cba463

Please sign in to comment.