aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-09 11:26:19 +0900
committernsfisis <nsfisis@gmail.com>2026-08-09 11:26:19 +0900
commitf1215ade6e1d6e91a36c8b1c407f5a59a1c2ee0e (patch)
treeecbf36ad9196f640b55e40e60db22571c1bb12c8
parent596482de82ff32705e85f18c1c9ae784e6cd2c6f (diff)
downloadphp-shirabe-f1215ade6e1d6e91a36c8b1c407f5a59a1c2ee0e.tar.gz
php-shirabe-f1215ade6e1d6e91a36c8b1c407f5a59a1c2ee0e.tar.zst
php-shirabe-f1215ade6e1d6e91a36c8b1c407f5a59a1c2ee0e.zip
refactor(cargo): drop the now-empty shirabe-external-packages crate
Every package it held now lives in its own crate, so the umbrella crate has nothing left in it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
-rw-r--r--Cargo.lock18
-rw-r--r--Cargo.toml1
-rw-r--r--crates/shirabe-class-map-generator/Cargo.toml1
-rw-r--r--crates/shirabe-external-packages/Cargo.toml18
-rw-r--r--crates/shirabe-external-packages/src/lib.rs1
-rw-r--r--crates/shirabe-php-rpc/Cargo.toml1
-rw-r--r--crates/shirabe/Cargo.toml1
-rw-r--r--crates/shirabe/src/main.rs2
8 files changed, 1 insertions, 42 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1e56a33a..c165d98c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2098,7 +2098,6 @@ dependencies = [
"sha1",
"shirabe-ca-bundle",
"shirabe-class-map-generator",
- "shirabe-external-packages",
"shirabe-metadata-minifier",
"shirabe-pcre",
"shirabe-php-rpc",
@@ -2129,28 +2128,12 @@ version = "0.0.1"
dependencies = [
"anyhow",
"indexmap",
- "shirabe-external-packages",
"shirabe-pcre",
"shirabe-php-shim",
"shirabe-symfony-finder",
]
[[package]]
-name = "shirabe-external-packages"
-version = "0.0.1"
-dependencies = [
- "anyhow",
- "chrono",
- "indexmap",
- "regex",
- "shirabe-pcre",
- "shirabe-php-shim",
- "shirabe-semver",
- "shirabe-symfony-process",
- "shirabe-symfony-string",
-]
-
-[[package]]
name = "shirabe-metadata-minifier"
version = "0.0.1"
dependencies = [
@@ -2174,7 +2157,6 @@ dependencies = [
"anyhow",
"indexmap",
"nix",
- "shirabe-external-packages",
"shirabe-php-shim",
"shirabe-php-src",
"shirabe-symfony-process",
diff --git a/Cargo.toml b/Cargo.toml
index f16de4c4..10a98c8e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,6 @@ edition = "2024"
shirabe = { path = "crates/shirabe" }
shirabe-ca-bundle = { path = "crates/shirabe-ca-bundle" }
shirabe-class-map-generator = { path = "crates/shirabe-class-map-generator" }
-shirabe-external-packages = { path = "crates/shirabe-external-packages" }
shirabe-metadata-minifier = { path = "crates/shirabe-metadata-minifier" }
shirabe-pcre = { path = "crates/shirabe-pcre" }
shirabe-php-rpc = { path = "crates/shirabe-php-rpc" }
diff --git a/crates/shirabe-class-map-generator/Cargo.toml b/crates/shirabe-class-map-generator/Cargo.toml
index 9143487d..0d17e71a 100644
--- a/crates/shirabe-class-map-generator/Cargo.toml
+++ b/crates/shirabe-class-map-generator/Cargo.toml
@@ -4,7 +4,6 @@ version.workspace = true
edition.workspace = true
[dependencies]
-shirabe-external-packages.workspace = true
shirabe-pcre.workspace = true
shirabe-php-shim.workspace = true
shirabe-symfony-finder.workspace = true
diff --git a/crates/shirabe-external-packages/Cargo.toml b/crates/shirabe-external-packages/Cargo.toml
deleted file mode 100644
index c9897725..00000000
--- a/crates/shirabe-external-packages/Cargo.toml
+++ /dev/null
@@ -1,18 +0,0 @@
-[package]
-name = "shirabe-external-packages"
-version.workspace = true
-edition.workspace = true
-
-[dependencies]
-shirabe-pcre.workspace = true
-shirabe-php-shim.workspace = true
-shirabe-semver.workspace = true
-shirabe-symfony-process.workspace = true
-shirabe-symfony-string.workspace = true
-anyhow.workspace = true
-chrono.workspace = true
-indexmap.workspace = true
-regex.workspace = true
-
-[lints]
-workspace = true
diff --git a/crates/shirabe-external-packages/src/lib.rs b/crates/shirabe-external-packages/src/lib.rs
deleted file mode 100644
index 8b137891..00000000
--- a/crates/shirabe-external-packages/src/lib.rs
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/crates/shirabe-php-rpc/Cargo.toml b/crates/shirabe-php-rpc/Cargo.toml
index 76775319..ee5913b8 100644
--- a/crates/shirabe-php-rpc/Cargo.toml
+++ b/crates/shirabe-php-rpc/Cargo.toml
@@ -4,7 +4,6 @@ version.workspace = true
edition.workspace = true
[dependencies]
-shirabe-external-packages.workspace = true
shirabe-php-shim.workspace = true
shirabe-php-src.workspace = true
shirabe-symfony-process.workspace = true
diff --git a/crates/shirabe/Cargo.toml b/crates/shirabe/Cargo.toml
index a2cf1f50..4f01af79 100644
--- a/crates/shirabe/Cargo.toml
+++ b/crates/shirabe/Cargo.toml
@@ -6,7 +6,6 @@ edition.workspace = true
[dependencies]
shirabe-ca-bundle.workspace = true
shirabe-class-map-generator.workspace = true
-shirabe-external-packages.workspace = true
shirabe-metadata-minifier.workspace = true
shirabe-pcre.workspace = true
shirabe-php-rpc.workspace = true
diff --git a/crates/shirabe/src/main.rs b/crates/shirabe/src/main.rs
index 49ee61f3..dcf33803 100644
--- a/crates/shirabe/src/main.rs
+++ b/crates/shirabe/src/main.rs
@@ -33,7 +33,7 @@ fn main() {
// (restart the process without Xdebug loaded, for performance) is not ported. Since no
// XdebugHandler is ever constructed, `self::$name` never gets set, so the
// COMPOSER_ORIGINAL_INIS-env-var branch of XdebugHandler::getAllIniFiles() (see
- // shirabe-external-packages' xdebug_handler.rs and shirabe/src/util/ini_helper.rs) is
+ // shirabe-xdebug-handler's xdebug_handler.rs and shirabe/src/util/ini_helper.rs) is
// unreachable in this port, not merely unexercised by current tests.
// Take the $_ENV / $_SERVER snapshots before any putenv() mutates the real environment.