-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Checklist * [x] I have read the [Contributor Guide](../../CONTRIBUTING.md) * [x] I have read and agree to the [Code of Conduct](../../CODE_OF_CONDUCT.md) * [x] I have added a description of my changes and why I'd like them included in the section below ### Description of Changes Adds a basic cargo-deny configuration as well as a CI step to run it on every run.
- Loading branch information
Showing
2 changed files
with
33 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,32 @@ | ||
[advisories] | ||
vulnerability = "allow" | ||
unmaintained = "allow" | ||
|
||
[bans] | ||
multiple-versions = "deny" | ||
deny = [ | ||
] | ||
|
||
skip = [ | ||
] | ||
|
||
[sources] | ||
unknown-registry = "deny" | ||
unknown-git = "allow" | ||
allow-registry = [ | ||
"https://github.com/rust-lang/crates.io-index", | ||
] | ||
|
||
[licenses] | ||
unlicensed = "deny" | ||
allow-osi-fsf-free = "neither" | ||
# We want really high confidence when inferring licenses from text | ||
confidence-threshold = 0.92 | ||
copyleft = "deny" | ||
allow = [ | ||
"Apache-2.0", | ||
"MIT", | ||
"Unicode-DFS-2016", | ||
] | ||
exceptions = [ | ||
] |