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/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/mozart-autoload/src/lib.rs') diff --git a/crates/mozart-autoload/src/lib.rs b/crates/mozart-autoload/src/lib.rs index fc80aed..0ee48fe 100644 --- a/crates/mozart-autoload/src/lib.rs +++ b/crates/mozart-autoload/src/lib.rs @@ -1 +1,4 @@ pub mod autoload; +pub mod dump; + +pub use dump::{AutoloadGeneratorExt, ClassMap}; -- cgit v1.3.1