Skip to content

Commit ae80850

Browse files
tottotojplatte
authored andcommitted
Update to cargo-deny api version 2 (#3475)
1 parent 651cc1e commit ae80850

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
- bans licenses sources
178178
steps:
179179
- uses: actions/checkout@v4
180-
- uses: EmbarkStudios/cargo-deny-action@v1
180+
- uses: EmbarkStudios/cargo-deny-action@v2
181181
with:
182182
command: check ${{ matrix.checks }}
183183
manifest-path: axum/Cargo.toml

deny.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1+
[graph]
2+
exclude-unpublished = true
3+
14
[advisories]
2-
vulnerability = "deny"
3-
unmaintained = "warn"
4-
notice = "warn"
5+
unmaintained = "none"
56
ignore = []
67

78
[licenses]
8-
unlicensed = "warn"
9-
allow = []
10-
deny = []
11-
copyleft = "warn"
12-
allow-osi-fsf-free = "either"
139
confidence-threshold = 0.8
10+
allow = [
11+
"Apache-2.0",
12+
"BSD-3-Clause",
13+
"MIT",
14+
"Unicode-3.0",
15+
]
1416

1517
[bans]
1618
multiple-versions = "deny"

examples/reverse-proxy/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "example-reverse-proxy"
33
version = "0.1.0"
44
edition = "2021"
5+
publish = false
56

67
[dependencies]
78
axum = { path = "../../axum" }

0 commit comments

Comments
 (0)