From 1de6ba5c6735e42b5f462c0b7489bcf172ccdc08 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 1 Jul 2026 01:33:38 +0900 Subject: feat(php-rpc): query real PHP version and binary for --version Add a minimal shirabe-php-rpc crate that spawns the system PHP as a child process and asks it for runtime information over a Unix domain socket, then use it to fill the `--version` PHP line with the real \PHP_VERSION and \PHP_BINARY instead of fixed placeholder values. See docs/dev/php-rpc.md for the design and scope. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe-php-rpc/Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 crates/shirabe-php-rpc/Cargo.toml (limited to 'crates/shirabe-php-rpc/Cargo.toml') diff --git a/crates/shirabe-php-rpc/Cargo.toml b/crates/shirabe-php-rpc/Cargo.toml new file mode 100644 index 0000000..692dda9 --- /dev/null +++ b/crates/shirabe-php-rpc/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shirabe-php-rpc" +version.workspace = true +edition.workspace = true + +[dependencies] +shirabe-external-packages.workspace = true +tempfile.workspace = true + +[lints] +workspace = true -- cgit v1.3.1