From 3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 14:33:13 +0900 Subject: fix(compile): extract constants from traits to make them dyn-compatible --- crates/shirabe/src/repository/artifact_repository.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/shirabe/src/repository/artifact_repository.rs') diff --git a/crates/shirabe/src/repository/artifact_repository.rs b/crates/shirabe/src/repository/artifact_repository.rs index a9832a1..d869156 100644 --- a/crates/shirabe/src/repository/artifact_repository.rs +++ b/crates/shirabe/src/repository/artifact_repository.rs @@ -1,5 +1,6 @@ //! ref: composer/src/Composer/Repository/ArtifactRepository.php +use crate::io::io_interface; use std::path::Path; use indexmap::IndexMap; @@ -111,7 +112,7 @@ impl ArtifactRepository { basename ), true, - IOInterface::VERBOSE, + io_interface::VERBOSE, ); } Some(package) => { @@ -123,7 +124,7 @@ impl ArtifactRepository { basename, ), true, - IOInterface::VERBOSE, + io_interface::VERBOSE, ); self.inner.add_package(package); } @@ -168,7 +169,7 @@ impl ArtifactRepository { self.io.write( &format!("Failed loading package {}: {}", pathname, exception), false, - IOInterface::VERBOSE, + io_interface::VERBOSE, ); } } -- cgit v1.3.1