-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add dependency and license checks (#170)
* ci: add dependency and license checks * chore: modify list of compliance licenses (#172) * fix: ignore dependencies with a reason to pass the deny checks (#174) * fix: ignore dependencies with a reason to pass the deny checks * refactor: remove useless comments * fix: only show warn for unmantained libs --------- Co-authored-by: Alex Bean <[email protected]>
- Loading branch information
1 parent
9a54f46
commit 48eec26
Showing
2 changed files
with
45 additions
and
0 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
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,38 @@ | ||
[graph] | ||
all-features = true | ||
|
||
# This section is considered when running `cargo deny check advisories` | ||
[advisories] | ||
unmaintained = "warn" | ||
ignore = [ | ||
{ id = "RUSTSEC-2024-0336", reason = "No upgrade available. Tracking the vulnerability: https://github.com/r0gue-io/pop-cli/issues/173" }, | ||
{ id = "RUSTSEC-2023-0071", reason = "No upgrade available. Tracking the vulnerability: https://github.com/r0gue-io/pop-cli/issues/173" }, | ||
] | ||
|
||
[licenses] | ||
allow = [ | ||
"Apache-2.0", | ||
"Apache-2.0 WITH LLVM-exception", | ||
"BSL-1.0", | ||
"BSD-2-Clause", | ||
"BSD-3-Clause", | ||
"CC0-1.0", | ||
"ISC", | ||
"GPL-3.0", | ||
"MIT", | ||
"MPL-2.0", | ||
"Unicode-DFS-2016", | ||
"Unlicense" | ||
] | ||
confidence-threshold = 0.93 | ||
|
||
[[licenses.exceptions]] | ||
allow = ["OpenSSL"] | ||
name = "ring" | ||
|
||
[[licenses.clarify]] | ||
name = "ring" | ||
expression = "ISC AND MIT AND OpenSSL" | ||
license-files = [ | ||
{ path = "LICENSE", hash = 0xbd0eed23 }, | ||
] |