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/io/null_io.rs | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'crates/shirabe/src/io/null_io.rs') diff --git a/crates/shirabe/src/io/null_io.rs b/crates/shirabe/src/io/null_io.rs index af0296d..66f7123 100644 --- a/crates/shirabe/src/io/null_io.rs +++ b/crates/shirabe/src/io/null_io.rs @@ -78,6 +78,44 @@ impl IOInterface for NullIO { ) -> PhpMixed { default } + + fn write_raw(&self, messages: PhpMixed, newline: bool, verbosity: i64) { + ::write_raw(self, messages, newline, verbosity) + } + + fn write_error_raw(&self, messages: PhpMixed, newline: bool, verbosity: i64) { + ::write_error_raw(self, messages, newline, verbosity) + } + + fn get_authentications( + &self, + ) -> indexmap::IndexMap>> { + ::get_authentications(self) + } + + fn has_authentication(&self, repository_name: &str) -> bool { + ::has_authentication(self, repository_name) + } + + fn get_authentication( + &self, + repository_name: &str, + ) -> indexmap::IndexMap> { + ::get_authentication(self, repository_name) + } + + fn set_authentication( + &mut self, + repository_name: String, + username: String, + password: Option, + ) { + ::set_authentication(self, repository_name, username, password) + } + + fn load_configuration(&mut self, config: &crate::config::Config) { + ::load_configuration(self, config) + } } impl BaseIO for NullIO { -- cgit v1.3.1