From 0ec82e83f69ac48734d188d57ee363f3cc02f2c7 Mon Sep 17 00:00:00 2001 From: Deluan Date: Wed, 31 Dec 2025 14:50:16 -0500 Subject: [PATCH] docs: correct example link for library inspector in README Signed-off-by: Deluan --- plugins/pdk/rust/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/pdk/rust/README.md b/plugins/pdk/rust/README.md index f020a87f2..891465cc5 100644 --- a/plugins/pdk/rust/README.md +++ b/plugins/pdk/rust/README.md @@ -108,13 +108,13 @@ let libs = library::get_all()?; ## Available Capabilities -| Capability | Pattern | Description | -|------------|---------|-------------| -| `scrobbler` | Required-all | Submit listening history to external services | -| `metadata` | Optional | Provide artist/album metadata from external sources | -| `lifecycle` | Optional | Handle plugin initialization | -| `scheduler` | Optional | Receive scheduled callbacks | -| `websocket` | Optional | Handle WebSocket messages | +| Capability | Pattern | Description | +|-------------|--------------|-----------------------------------------------------| +| `scrobbler` | Required-all | Submit listening history to external services | +| `metadata` | Optional | Provide artist/album metadata from external sources | +| `lifecycle` | Optional | Handle plugin initialization | +| `scheduler` | Optional | Receive scheduled callbacks | +| `websocket` | Optional | Handle WebSocket messages | ## Building @@ -132,14 +132,14 @@ See the example plugins for complete implementations: - [webhook-rs](../../examples/webhook-rs/) - Simple scrobbler using the PDK - [discord-rich-presence-rs](../../examples/discord-rich-presence-rs/) - Complex plugin with multiple capabilities -- [library-inspector](../../examples/library-inspector-rs/) - Host service demonstration +- [library-inspector-rs](../../examples/library-inspector-rs/) - Host service demonstration ## Code Generation The capability modules in `nd-pdk-capabilities` are auto-generated from the Go capability definitions. To regenerate after capability changes: ```bash -go generate ./plugins/capabilities +make gen ``` This generates both Go and Rust PDK code.