Update to cargo-deny api version 2 (#3475)

This commit is contained in:
tottoto
2025-09-28 19:41:46 +02:00
committed by Jonas Platte
parent 651cc1e935
commit ae80850223
3 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ jobs:
- bans licenses sources
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check ${{ matrix.checks }}
manifest-path: axum/Cargo.toml
+10 -8
View File
@@ -1,16 +1,18 @@
[graph]
exclude-unpublished = true
[advisories]
vulnerability = "deny"
unmaintained = "warn"
notice = "warn"
unmaintained = "none"
ignore = []
[licenses]
unlicensed = "warn"
allow = []
deny = []
copyleft = "warn"
allow-osi-fsf-free = "either"
confidence-threshold = 0.8
allow = [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"Unicode-3.0",
]
[bans]
multiple-versions = "deny"
+1
View File
@@ -2,6 +2,7 @@
name = "example-reverse-proxy"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
axum = { path = "../../axum" }