Skip to content

Commit

Permalink
chore: update cargo deny config (#4486)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

cargo deny is deprecating a bunch of its config file so this PR updates
to the new format.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
TomAFrench authored Mar 6, 2024
1 parent 761734e commit 1ed9061
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
vulnerability = "deny"
unmaintained = "warn"
unsound = "warn"
version = 2
yanked = "warn"
notice = "warn"

ignore = [
"RUSTSEC-2020-0168", # mach unmaintained
"RUSTSEC-2020-0016" # net2 unmaintained
]

# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
Expand All @@ -32,9 +34,8 @@ skip = []
skip-tree = []

[licenses]
unlicensed = "deny"
version = 2
confidence-threshold = 0.9
# copyleft = "deny"

# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
Expand Down

0 comments on commit 1ed9061

Please sign in to comment.