-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cargo deny config and add cargo deny job to ci (#254)
* Add cargo deny config and add cargo deny job to ci * Run CI on pull requests
- Loading branch information
Showing
2 changed files
with
54 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,40 @@ | ||
|
||
[advisories] | ||
notice = "deny" | ||
unmaintained = "deny" | ||
vulnerability = "deny" | ||
yanked = "deny" | ||
ignore = [] | ||
|
||
[licenses] | ||
allow = [ | ||
"Apache-2.0", | ||
"MIT", | ||
] | ||
default = "deny" | ||
confidence-threshold = 1.0 | ||
unlicensed = "deny" | ||
|
||
[bans] | ||
allow = [] | ||
deny = [] | ||
multiple-versions = "deny" | ||
skip = [ | ||
# Transitive dependency of both redox_syscall and rustix (rustix has newer). | ||
# | ||
# Only one version of bitflags ultimately gets compiled in due to OS-based feature flags in tempfile. | ||
{ name = "bitflags" }, | ||
] | ||
skip-tree = [] | ||
wildcards = "deny" | ||
|
||
[sources] | ||
allow-git = [] | ||
allow-registry = ["https://github.com/rust-lang/crates.io-index"] | ||
unknown-git = "deny" | ||
unknown-registry = "deny" | ||
|
||
[sources.allow-org] | ||
github = [] | ||
gitlab = [] | ||
bitbucket = [] |