aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-12 02:52:21 +0900
committernsfisis <nsfisis@gmail.com>2026-05-12 02:52:21 +0900
commitae82788e7e80053c044940335a0a89737c2b0fb2 (patch)
treea52e95f22e08839310292a012f169b7d361ff6a2 /crates/shirabe
parent8bf6f8e8ce56ab3f5c6cf1b0fe09fe51eaae9170 (diff)
downloadphp-shirabe-ae82788e7e80053c044940335a0a89737c2b0fb2.tar.gz
php-shirabe-ae82788e7e80053c044940335a0a89737c2b0fb2.tar.zst
php-shirabe-ae82788e7e80053c044940335a0a89737c2b0fb2.zip
feat(port): ConfigurableRepositoryInterface.php
Diffstat (limited to 'crates/shirabe')
-rw-r--r--crates/shirabe/Cargo.toml9
-rw-r--r--crates/shirabe/src/repository/configurable_repository_interface.rs7
2 files changed, 16 insertions, 0 deletions
diff --git a/crates/shirabe/Cargo.toml b/crates/shirabe/Cargo.toml
index 28d0456..8ff50f0 100644
--- a/crates/shirabe/Cargo.toml
+++ b/crates/shirabe/Cargo.toml
@@ -5,3 +5,12 @@ edition.workspace = true
[dependencies]
shirabe-php-shim.workspace = true
+anyhow.workspace = true
+base64.workspace = true
+indexmap.workspace = true
+md5.workspace = true
+regex.workspace = true
+serde.workspace = true
+serde_json.workspace = true
+sha1.workspace = true
+url.workspace = true
diff --git a/crates/shirabe/src/repository/configurable_repository_interface.rs b/crates/shirabe/src/repository/configurable_repository_interface.rs
index 855f71b..f6d36ba 100644
--- a/crates/shirabe/src/repository/configurable_repository_interface.rs
+++ b/crates/shirabe/src/repository/configurable_repository_interface.rs
@@ -1 +1,8 @@
//! ref: composer/src/Composer/Repository/ConfigurableRepositoryInterface.php
+
+use indexmap::IndexMap;
+use shirabe_php_shim::PhpMixed;
+
+pub trait ConfigurableRepositoryInterface {
+ fn get_repo_config(&self) -> IndexMap<String, PhpMixed>;
+}