From 1ee225201a0744c8edd5cced788dd7bc7fe9e891 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 20 Mar 2026 00:36:28 +0300 Subject: [PATCH] pinakes-plugin-api: suppress `struct_field_names` lint; minor doc tweaks Signed-off-by: NotAShelf Change-Id: I90f1cc46303564a61bdefe76d21045066a6a6964 --- crates/pinakes-plugin-api/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/pinakes-plugin-api/src/lib.rs b/crates/pinakes-plugin-api/src/lib.rs index d21c284..23cdab1 100644 --- a/crates/pinakes-plugin-api/src/lib.rs +++ b/crates/pinakes-plugin-api/src/lib.rs @@ -1,7 +1,7 @@ //! Pinakes Plugin API //! -//! This crate defines the stable plugin interface for Pinakes. -//! Plugins can extend Pinakes by implementing one or more of the provided +//! Defines the "stable" plugin interface for Pinakes. Using this interface, +//! plugins can extend Pinakes by implementing one or more of the provided //! traits. use std::path::{Path, PathBuf}; @@ -23,6 +23,7 @@ pub use ui_schema::*; pub use wasm::host_functions; /// Plugin API version - plugins must match this version +/// FIXME: handle breaking changes for the API after stabilizing pub const PLUGIN_API_VERSION: &str = "1.0"; /// Result type for plugin operations @@ -355,6 +356,7 @@ pub enum EventType { /// Event data #[derive(Debug, Clone, Serialize, Deserialize)] +#[expect(clippy::struct_field_names)] pub struct Event { pub event_type: EventType, pub timestamp: String,