aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-04 20:17:22 +0900
committernsfisis <nsfisis@gmail.com>2026-07-04 20:17:22 +0900
commit8f852537e82dabd71b4492bdf903b95d9028560c (patch)
treefda89762c8310363ca9905abf04a4264d08334d9 /crates/shirabe-php-rpc/Cargo.toml
parent6683d321cc73a7730a99b7012353481e3abd316f (diff)
downloadphp-shirabe-8f852537e82dabd71b4492bdf903b95d9028560c.tar.gz
php-shirabe-8f852537e82dabd71b4492bdf903b95d9028560c.tar.zst
php-shirabe-8f852537e82dabd71b4492bdf903b95d9028560c.zip
fix(php-rpc): panic on RPC failure instead of silently swallowing it
Worker spawn failure, socket I/O errors, and unparseable responses used to fall back to plausible-looking defaults (empty string, false, None), making real failures indistinguishable from legitimate PHP-side results. Panicking is not the final design, but replaces silent data corruption with a loud failure until proper error propagation is implemented.
Diffstat (limited to 'crates/shirabe-php-rpc/Cargo.toml')
-rw-r--r--crates/shirabe-php-rpc/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/Cargo.toml b/crates/shirabe-php-rpc/Cargo.toml
index 115381c..093b10e 100644
--- a/crates/shirabe-php-rpc/Cargo.toml
+++ b/crates/shirabe-php-rpc/Cargo.toml
@@ -6,6 +6,7 @@ edition.workspace = true
[dependencies]
shirabe-external-packages.workspace = true
shirabe-php-shim.workspace = true
+anyhow.workspace = true
tempfile.workspace = true
[lints]