Skip to content

Commit

Permalink
Merge pull request #416 from primeos-work/cargo-deny
Browse files Browse the repository at this point in the history
Add documentation links for cargo-deny and ignore that the yaml-rust crate is unmaintained
  • Loading branch information
ammernico authored Sep 4, 2024
2 parents 184faf0 + ef6053f commit b9cf2e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ jobs:
- advisories
- bans licenses sources

# Prevent sudden announcement of a new advisory from failing ci:
# Prevent sudden announcement of a new advisory from failing CI:
continue-on-error: ${{ matrix.checks == 'advisories' }}

steps:
- uses: actions/checkout@v4
# https://github.com/EmbarkStudios/cargo-deny-action:
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check ${{ matrix.checks }}
Expand Down
12 changes: 11 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Documentation for this configuration file:
# https://embarkstudios.github.io/cargo-deny/checks/cfg.html

# GitHub link: https://github.com/EmbarkStudios/cargo-deny

[licenses]
# List of explictly allowed licenses
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
allow = [
Expand Down Expand Up @@ -54,4 +59,9 @@ skip-tree = [

[advisories]
ignore = [
# Ignore an "INFO Unmaintained" advisory for the yaml-rust crate that the
# "syntect" crate uses. This can be removed once
# https://github.com/trishume/syntect/issues/537 is resolved (replace
# yaml-rust with yaml-rust2):
{ id = "RUSTSEC-2024-0320", reason = "Only an informative advisory that the crate is unmaintained and the maintainer unreachable" },
]

0 comments on commit b9cf2e4

Please sign in to comment.