Skip to content

Commit

Permalink
Use cargo-deny instead of cargo-audit
Browse files Browse the repository at this point in the history
Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
  • Loading branch information
wiktor-k committed Mar 21, 2024
1 parent 133144d commit 73f6a34
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/audit.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust

RUN cargo install cargo-audit
RUN cargo install --locked cargo-deny

COPY . /build
WORKDIR /build

RUN cargo audit
RUN cargo deny check
28 changes: 28 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2023 David Runge <[email protected]>
# SPDX-FileCopyrightText: 2023 Wiktor Kwapisiewicz <[email protected]>
# SPDX-License-Identifier: CC0-1.0

[advisories]
version = 2
yanked = "deny"
ignore = [
"RUSTSEC-2023-0071",
]

[bans]
deny = [
]

[licenses]
version = 2
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"Unicode-DFS-2016",
"BSL-1.0",
"CC0-1.0",
"ISC",
"BSD-3-Clause",
"LGPL-3.0",
]

0 comments on commit 73f6a34

Please sign in to comment.