From 43aebe790baee0fae8f969a0fce0f1a4c5269bc6 Mon Sep 17 00:00:00 2001 From: Adam Azarchs Date: Wed, 9 Mar 2022 16:45:33 -0800 Subject: [PATCH] Tighten up deny rules. Deny random git dependencies. --- deny.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deny.toml b/deny.toml index 168f94b..3486d7e 100644 --- a/deny.toml +++ b/deny.toml @@ -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"]