aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/config.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 14:33:13 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 14:38:16 +0900
commit3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3 (patch)
tree712ae7832124da20739f5b389cebe4f44abd7225 /crates/shirabe/src/config.rs
parentac59538140a93d9a023da2115148bc9779223978 (diff)
downloadphp-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.tar.gz
php-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.tar.zst
php-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.zip
fix(compile): extract constants from traits to make them dyn-compatible
Diffstat (limited to 'crates/shirabe/src/config.rs')
-rw-r--r--crates/shirabe/src/config.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/shirabe/src/config.rs b/crates/shirabe/src/config.rs
index 12755b0..f2e784a 100644
--- a/crates/shirabe/src/config.rs
+++ b/crates/shirabe/src/config.rs
@@ -3,6 +3,7 @@
pub mod config_source_interface;
pub mod json_config_source;
+use crate::io::io_interface;
use anyhow::Result;
use indexmap::IndexMap;
use shirabe_external_packages::composer::pcre::preg::Preg;
@@ -1170,7 +1171,7 @@ impl Config {
scheme.as_deref().unwrap_or("")
)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
}
self.warned_hosts.insert(hostname.clone(), true);
@@ -1212,7 +1213,7 @@ impl Config {
hostname, w
)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
self.ssl_verify_warned_hosts.insert(hostname.clone(), true);
}