-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cargo-deny instead of cargo-audit
Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
] |