From 446f719f6c34453f027d5ccdbf81b16e63f4c982 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 9 Aug 2026 11:14:42 +0900 Subject: refactor(symfony-process): extract symfony/process into the shirabe-symfony-process crate Move `Symfony\Component\Process` out of shirabe-external-packages and into its own crate, so the path is `shirabe_symfony_process::Process` instead of `shirabe_external_packages::symfony::process::Process`. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-php-rpc/Cargo.toml | 1 + crates/shirabe-php-rpc/src/lib.rs | 2 +- crates/shirabe-php-rpc/tests/generated_stubs.rs | 2 +- crates/shirabe-php-rpc/tests/oracle.rs | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/shirabe-php-rpc') diff --git a/crates/shirabe-php-rpc/Cargo.toml b/crates/shirabe-php-rpc/Cargo.toml index e4675faa..76775319 100644 --- a/crates/shirabe-php-rpc/Cargo.toml +++ b/crates/shirabe-php-rpc/Cargo.toml @@ -7,6 +7,7 @@ edition.workspace = true shirabe-external-packages.workspace = true shirabe-php-shim.workspace = true shirabe-php-src.workspace = true +shirabe-symfony-process.workspace = true anyhow.workspace = true indexmap.workspace = true nix.workspace = true diff --git a/crates/shirabe-php-rpc/src/lib.rs b/crates/shirabe-php-rpc/src/lib.rs index eac6f523..6dfdebf5 100644 --- a/crates/shirabe-php-rpc/src/lib.rs +++ b/crates/shirabe-php-rpc/src/lib.rs @@ -8,8 +8,8 @@ pub use value::{PhpClassHandle, PhpObjHandle, PhpObject, PluginValue, RustObjHan use frame::Frame; use indexmap::IndexMap; -use shirabe_external_packages::symfony::process::PhpExecutableFinder; use shirabe_php_shim::PhpMixed; +use shirabe_symfony_process::PhpExecutableFinder; use std::os::unix::net::UnixStream; use std::sync::atomic::{AtomicBool, AtomicU64, Ordering}; use std::sync::{LazyLock, Mutex, OnceLock}; diff --git a/crates/shirabe-php-rpc/tests/generated_stubs.rs b/crates/shirabe-php-rpc/tests/generated_stubs.rs index b4ff8197..0980745e 100644 --- a/crates/shirabe-php-rpc/tests/generated_stubs.rs +++ b/crates/shirabe-php-rpc/tests/generated_stubs.rs @@ -6,7 +6,7 @@ //! report; when any of those is missing the test returns early, following the non-mock test //! convention of this crate. -use shirabe_external_packages::symfony::process::PhpExecutableFinder; +use shirabe_symfony_process::PhpExecutableFinder; use std::path::Path; #[test] diff --git a/crates/shirabe-php-rpc/tests/oracle.rs b/crates/shirabe-php-rpc/tests/oracle.rs index e1e1143b..b98f2203 100644 --- a/crates/shirabe-php-rpc/tests/oracle.rs +++ b/crates/shirabe-php-rpc/tests/oracle.rs @@ -7,9 +7,9 @@ //! focus areas. use indexmap::IndexMap; -use shirabe_external_packages::symfony::process::PhpExecutableFinder; use shirabe_php_rpc::value::{serialize, unserialize}; use shirabe_php_rpc::{PhpObject, PluginValue, call_function}; +use shirabe_symfony_process::PhpExecutableFinder; fn php_available() -> bool { PhpExecutableFinder::new().find(false).is_some() -- cgit v1.3.1-4-g156e