From 3d128352f93c4416d087069947920e9fa864df7d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 6 May 2026 18:05:27 +0900 Subject: feat(core): port Factory::createComposer and AutoloadGenerator::dump Add the Composer state-container types (LocalRepository, RepositoryManager, InstallationManager, AutoloadGenerator, AutoloadDumpOptions, PlatformRequirementFilter, Locker) plus the factory wiring that builds them from composer.json and vendor/composer/installed.json. AutoloadGenerator::dump lives in mozart-autoload as an extension trait so the orchestrating algorithm sits next to the classmap scanner while the state container stays in mozart-core. Rework dump-autoload to drive both, mirroring $composer->getAutoloadGenerator()->dump(...). --- crates/mozart-autoload/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/mozart-autoload/Cargo.toml') diff --git a/crates/mozart-autoload/Cargo.toml b/crates/mozart-autoload/Cargo.toml index 1f1ed5a..571d70f 100644 --- a/crates/mozart-autoload/Cargo.toml +++ b/crates/mozart-autoload/Cargo.toml @@ -5,10 +5,12 @@ edition.workspace = true [dependencies] mozart-class-map-generator.workspace = true +mozart-core.workspace = true mozart-registry.workspace = true anyhow.workspace = true indexmap.workspace = true md5.workspace = true +regex.workspace = true serde_json.workspace = true [dev-dependencies] -- cgit v1.3.1