Skip to content

Commit 43aebe7

Browse files
committed
Tighten up deny rules.
Deny random git dependencies.
1 parent eed2722 commit 43aebe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deny.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ skip-tree = [
8484
[sources]
8585
# Lint level for what to happen when a crate from a crate registry that is not
8686
# in the allow list is encountered
87-
unknown-registry = "warn"
87+
unknown-registry = "deny"
8888
# Lint level for what to happen when a crate from a git repository that is not
8989
# in the allow list is encountered
90-
unknown-git = "warn"
90+
unknown-git = "deny"
9191
# List of URLs for allowed crate registries. Defaults to the crates.io index
9292
# if not specified. If it is specified but empty, no registries are allowed.
9393
allow-registry = ["https://github.com/rust-lang/crates.io-index"]

0 commit comments

Comments
 (0)