From 05f214df2057bb6dec7a973b45c09819ab4b0baa Mon Sep 17 00:00:00 2001 From: ty Date: Mon, 4 Nov 2024 10:55:15 +0800 Subject: [PATCH] chore: deny crates in git --- deny.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deny.toml b/deny.toml index 11e01f26..ff831b53 100644 --- a/deny.toml +++ b/deny.toml @@ -231,10 +231,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"]