Re-exports§
pub use error::PluginError;pub use manifest::CapabilityLevel;pub use manifest::DocumentHandlerConfig;pub use manifest::HostCapability;pub use manifest::IntegrationConfig;pub use manifest::PluginManifest;pub use manifest::WindowPolicyConfig;pub use permissions::Permission;pub use types::*;
Modules§
Macros§
- declare_
plugin - Every native plugin crate must call this macro exactly once.
Structs§
Enums§
- AppEvent
- Well-known app events plugins can subscribe to.
- Host
Table - Host tables that can be granted read access.
Constants§
- PLUGIN_
ABI_ VERSION - The stable ABI version of this plugin API. Increment MAJOR on any breaking change to the HaloForgePlugin trait or context traits.
- PUBLIC_
HOST_ API_ VERSION
Traits§
- Database
Access - Event
Bus - Halo
Forge Plugin - Every native plugin must implement this trait.
- Http
Client - IpcRegistrar
- Plugin
Context - The host-provided context injected into the plugin at load time. This is the plugin’s only gateway to host services.
- Plugin
Fs - Process
Runner
Type Aliases§
- IpcHandler
- Handler type for plugin IPC commands. Takes (args JSON, plugin context), returns result JSON.