From ab0d8dd08971a0f9c8235afb31e2c97f1a06e205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 6 Jan 2026 15:17:41 +0100 Subject: [PATCH] Disallow git dependencies that are not allowed And ignore git dependencies that are unmatched, since we sometimes use the crates.io version. --- deny.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index 3928ac5c..a89d599d 100644 --- a/deny.toml +++ b/deny.toml @@ -23,9 +23,11 @@ allow = [ ] [sources] -required-git-spec="rev" +unknown-git = "deny" +required-git-spec = "rev" allow-git = [ "https://github.com/ruma/ruma", "https://github.com/matrix-org/matrix-rust-sdk", "https://gitlab.gnome.org/GNOME/glycin", ] +unused-allowed-source = "allow"