From 7ce605a6c9f2c59da97f5a288848c204c3e00eba Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:14:11 +0900 Subject: fix(compile): add stubs for missing trait implementations --- crates/shirabe/src/command/require_command.rs | 48 +++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/command/require_command.rs') diff --git a/crates/shirabe/src/command/require_command.rs b/crates/shirabe/src/command/require_command.rs index 70c3651..003673d 100644 --- a/crates/shirabe/src/command/require_command.rs +++ b/crates/shirabe/src/command/require_command.rs @@ -64,8 +64,52 @@ pub struct RequireCommand { dependency_resolution_completed: bool, } -impl CompletionTrait for RequireCommand {} -impl PackageDiscoveryTrait for RequireCommand {} +impl CompletionTrait for RequireCommand { + fn require_composer( + &self, + disable_plugins: Option, + disable_scripts: Option, + ) -> Composer { + todo!() + } +} + +impl PackageDiscoveryTrait for RequireCommand { + fn get_repos_mut(&mut self) -> &mut Option { + todo!() + } + + fn get_repository_sets_mut(&mut self) -> &mut IndexMap { + todo!() + } + + fn get_io(&self) -> &dyn IOInterface { + todo!() + } + + fn try_composer(&self) -> Option { + todo!() + } + + fn require_composer( + &self, + disable_plugins: Option, + disable_scripts: Option, + ) -> Composer { + todo!() + } + + fn get_platform_requirement_filter( + &self, + input: &dyn InputInterface, + ) -> Box{ + todo!() + } + + fn normalize_requirements(&self, requires: Vec) -> Vec> { + todo!() + } +} impl RequireCommand { pub fn configure(&mut self) { -- cgit v1.3.1