From 92fdff257d2c64f94600ba70bf17e429d46474b2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 12:05:17 +0900 Subject: feat(metadata-minifier): add mozart-metadata-minifier crate Port composer/metadata-minifier to Rust as an independent workspace crate. Implements expand() and minify() for Packagist's delta-encoded version metadata. Update mozart-registry to use the new crate for transparent minified response handling, and add __unset sentinel support to PackagistVersion deserialization. Co-Authored-By: Claude Opus 4.6 --- Cargo.lock | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index e32d4fd..5daa259 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1137,6 +1137,13 @@ dependencies = [ "tempfile", ] +[[package]] +name = "mozart-metadata-minifier" +version = "0.1.0" +dependencies = [ + "serde_json", +] + [[package]] name = "mozart-registry" version = "0.1.0" @@ -1147,6 +1154,7 @@ dependencies = [ "md5", "mozart-constraint", "mozart-core", + "mozart-metadata-minifier", "pubgrub", "reqwest", "serde", -- cgit v1.3.1