mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Update to cargo-deny api version 2 (#3475)
This commit is contained in:
@@ -176,7 +176,7 @@ jobs:
|
|||||||
- bans licenses sources
|
- bans licenses sources
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
- uses: EmbarkStudios/cargo-deny-action@v2
|
||||||
with:
|
with:
|
||||||
command: check ${{ matrix.checks }}
|
command: check ${{ matrix.checks }}
|
||||||
manifest-path: axum/Cargo.toml
|
manifest-path: axum/Cargo.toml
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
|
[graph]
|
||||||
|
exclude-unpublished = true
|
||||||
|
|
||||||
[advisories]
|
[advisories]
|
||||||
vulnerability = "deny"
|
unmaintained = "none"
|
||||||
unmaintained = "warn"
|
|
||||||
notice = "warn"
|
|
||||||
ignore = []
|
ignore = []
|
||||||
|
|
||||||
[licenses]
|
[licenses]
|
||||||
unlicensed = "warn"
|
|
||||||
allow = []
|
|
||||||
deny = []
|
|
||||||
copyleft = "warn"
|
|
||||||
allow-osi-fsf-free = "either"
|
|
||||||
confidence-threshold = 0.8
|
confidence-threshold = 0.8
|
||||||
|
allow = [
|
||||||
|
"Apache-2.0",
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"MIT",
|
||||||
|
"Unicode-3.0",
|
||||||
|
]
|
||||||
|
|
||||||
[bans]
|
[bans]
|
||||||
multiple-versions = "deny"
|
multiple-versions = "deny"
|
||||||
@@ -21,12 +23,6 @@ skip-tree = [
|
|||||||
{ name = "base64" },
|
{ name = "base64" },
|
||||||
# parking_lot pulls in old versions of windows-sys
|
# parking_lot pulls in old versions of windows-sys
|
||||||
{ name = "windows-sys" },
|
{ name = "windows-sys" },
|
||||||
# old version pulled in by rustls via ring
|
|
||||||
{ name = "spin" },
|
|
||||||
# lots still pulls in syn 1.x
|
|
||||||
{ name = "syn" },
|
|
||||||
# pulled in by hyper
|
|
||||||
{ name = "socket2" },
|
|
||||||
# pulled in by quickcheck and cookie
|
# pulled in by quickcheck and cookie
|
||||||
{ name = "rand" },
|
{ name = "rand" },
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
name = "example-reverse-proxy"
|
name = "example-reverse-proxy"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
axum = { path = "../../axum" }
|
axum = { path = "../../axum" }
|
||||||
|
|||||||
Reference in New Issue
Block a user