Skip to content

Commit

Permalink
Merge pull request #25 from wiktor-k/remove-audit
Browse files Browse the repository at this point in the history
Use `cargo-deny` instead of `cargo-audit`
  • Loading branch information
wiktor-k authored Mar 21, 2024
2 parents 133144d + 73f6a34 commit af49c56
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 af49c56

Please sign in to comment.