pinakes-plugin-api: suppress struct_field_names lint; minor doc tweaks
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I90f1cc46303564a61bdefe76d21045066a6a6964
This commit is contained in:
parent
2f43279dd7
commit
1ee225201a
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue