diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-09 11:22:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-09 11:22:59 +0900 |
| commit | 738a258496318edb6e264b13b8a6d0dc313795d3 (patch) | |
| tree | 68c293ba2c45d105c7e85cc006918ef9c6b2d843 /crates/shirabe/src/util | |
| parent | 548ec1ffb232da4411ae8890080bcfd63300cda0 (diff) | |
| download | php-shirabe-738a258496318edb6e264b13b8a6d0dc313795d3.tar.gz php-shirabe-738a258496318edb6e264b13b8a6d0dc313795d3.tar.zst php-shirabe-738a258496318edb6e264b13b8a6d0dc313795d3.zip | |
refactor(ca-bundle): extract composer/ca_bundle into the shirabe-ca-bundle crate
Move `Composer\CaBundle` out of shirabe-external-packages and into its
own crate, so the path is `shirabe_ca_bundle::CaBundle` instead of
`shirabe_external_packages::composer::ca_bundle::CaBundle`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util')
| -rw-r--r-- | crates/shirabe/src/util/stream_context_factory.rs | 2 | ||||
| -rw-r--r-- | crates/shirabe/src/util/tls_helper.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/stream_context_factory.rs b/crates/shirabe/src/util/stream_context_factory.rs index b407e897..6a63537d 100644 --- a/crates/shirabe/src/util/stream_context_factory.rs +++ b/crates/shirabe/src/util/stream_context_factory.rs @@ -7,7 +7,7 @@ use crate::util::Filesystem; use crate::util::Platform; use crate::util::http::ProxyManager; use indexmap::IndexMap; -use shirabe_external_packages::composer::ca_bundle::CaBundle; +use shirabe_ca_bundle::CaBundle; use shirabe_php_shim::{ HHVM_VERSION, PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION, PhpMixed, array_replace_recursive, extension_loaded, function_exists, php_uname, stream_context_create, diff --git a/crates/shirabe/src/util/tls_helper.rs b/crates/shirabe/src/util/tls_helper.rs index 0df30b1a..0c3f44dc 100644 --- a/crates/shirabe/src/util/tls_helper.rs +++ b/crates/shirabe/src/util/tls_helper.rs @@ -1,6 +1,6 @@ //! ref: composer/src/Composer/Util/TlsHelper.php -use shirabe_external_packages::composer::ca_bundle::ca_bundle::CaBundle; +use shirabe_ca_bundle::ca_bundle::CaBundle; use shirabe_pcre::Preg; use shirabe_php_shim::{ PhpMixed, ltrim, php_regex, preg_quote, str_replace, strtolower, substr, substr_count, |
