From f411daceacad66e0bd774fda7d3c5ef8533cc55c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 26 May 2026 20:04:02 +0900 Subject: refactor(io): share IOInterface via Rc> handle Co-Authored-By: Claude Opus 4.7 --- crates/shirabe/src/util/stream_context_factory.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/util/stream_context_factory.rs') diff --git a/crates/shirabe/src/util/stream_context_factory.rs b/crates/shirabe/src/util/stream_context_factory.rs index 48949c8..488d807 100644 --- a/crates/shirabe/src/util/stream_context_factory.rs +++ b/crates/shirabe/src/util/stream_context_factory.rs @@ -2,7 +2,6 @@ use indexmap::IndexMap; use shirabe_external_packages::composer::ca_bundle::CaBundle; -use shirabe_external_packages::psr::log::LoggerInterface; use shirabe_php_shim::{ HHVM_VERSION, PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION, PhpMixed, RuntimeException, array_replace_recursive, curl_version, extension_loaded, function_exists, @@ -239,7 +238,9 @@ impl StreamContextFactory { pub fn get_tls_defaults( options: &IndexMap, - logger: Option<&dyn LoggerInterface>, + // `logger` was a PSR LoggerInterface; CaBundle is slated for removal so + // it is now an unused `()` placeholder. + logger: (), ) -> anyhow::Result, TransportException> { let ciphers = [ "ECDHE-RSA-AES128-GCM-SHA256", -- cgit v1.3.1