Skip to content

Commit

Permalink
Tighten up deny rules.
Browse files Browse the repository at this point in the history
Deny random git dependencies.
  • Loading branch information
adam-azarchs committed Mar 10, 2022
1 parent eed2722 commit 43aebe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ skip-tree = [
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "warn"
unknown-registry = "deny"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "warn"
unknown-git = "deny"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
Expand Down

0 comments on commit 43aebe7

Please sign in to comment.