diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-12 03:35:28 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-12 03:40:35 +0900 |
| commit | 4211106824cd8c1beab56d2bfd0e52288ed07361 (patch) | |
| tree | 87170052a85c9c0e0ae104d5093eaa8df08ac1f5 /crates/shirabe/src/plugin/capable.rs | |
| parent | 7b7afb121df73769821e777145a0889d0bf2d2d2 (diff) | |
| download | php-shirabe-4211106824cd8c1beab56d2bfd0e52288ed07361.tar.gz php-shirabe-4211106824cd8c1beab56d2bfd0e52288ed07361.tar.zst php-shirabe-4211106824cd8c1beab56d2bfd0e52288ed07361.zip | |
feat(port): port Capable.php
Diffstat (limited to 'crates/shirabe/src/plugin/capable.rs')
| -rw-r--r-- | crates/shirabe/src/plugin/capable.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/shirabe/src/plugin/capable.rs b/crates/shirabe/src/plugin/capable.rs index 2790cf7..2336904 100644 --- a/crates/shirabe/src/plugin/capable.rs +++ b/crates/shirabe/src/plugin/capable.rs @@ -1 +1,8 @@ //! ref: composer/src/Composer/Plugin/Capable.php + +use indexmap::IndexMap; + +// TODO(plugin): Plugin API - interface for plugins that expose capability implementations +pub trait Capable { + fn get_capabilities(&self) -> IndexMap<String, String>; +} |
