deny.toml: migrate to version 2 to avoid some warnings.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira-Emma Hopwood 2024-04-15 16:49:01 +01:00
parent 25535c4144
commit 501c0da154
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# Configuration file for cargo-deny
[graph]
targets = [
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
@ -9,12 +10,11 @@ targets = [
]
[licenses]
unlicensed = "deny"
version = 2
allow = [
"Apache-2.0",
"MIT",
]
copyleft = "deny"
# Each entry in this list should have a corresponding `contrib/debian/copyright`
# entry for `Files: depends/*/vendored-sources/CRATE_NAME/*` (or the relevant
# subset of files). The reverse might not be true however: `cargo-deny` only