From d3cdb9e3f73314e04061d4d18f654e7e80b0dc18 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 3 May 2026 20:03:42 +0900 Subject: feat(repository): support only/exclude/canonical repo filters Composer's FilterRepository wraps a repository with three knobs: `only` / `exclude` to drop packages by name, and `canonical: false` to relax the repo's authoritative claim on its package names so lower-priority repos can still answer. Mozart was ignoring all three, so first-listed inline / composer-repo entries always shadowed later repos and `only` / `exclude` lists were silently no-ops. Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/mozart-registry/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/mozart-registry/Cargo.toml') diff --git a/crates/mozart-registry/Cargo.toml b/crates/mozart-registry/Cargo.toml index 83e42b5..578a08c 100644 --- a/crates/mozart-registry/Cargo.toml +++ b/crates/mozart-registry/Cargo.toml @@ -15,6 +15,7 @@ filetime.workspace = true flate2.workspace = true indexmap.workspace = true md5.workspace = true +regex.workspace = true reqwest.workspace = true serde.workspace = true serde_json.workspace = true -- cgit v1.3.1