Skip to main content

Crate rustant_plugins

Crate rustant_plugins 

Source
Expand description

§Rustant Plugins

Plugin system for the Rustant agent. Supports native dynamic loading (.so/.dll/.dylib) and WASM sandboxed plugins. Plugins can register tools, hooks, and channels.

Re-exports§

pub use hooks::Hook;
pub use hooks::HookContext;
pub use hooks::HookManager;
pub use hooks::HookPoint;
pub use hooks::HookResult;
pub use loader::NativePluginLoader;
pub use security::PluginCapability;
pub use security::PluginSecurityValidator;
pub use security::SecurityValidationResult;
pub use wasm_loader::WasmPluginLoader;

Modules§

hooks
Hook system — 7 hook points for plugin interception.
loader
Native plugin loader — loads .so/.dll/.dylib plugins via libloading.
security
Plugin security validation.
wasm_loader
WASM plugin loader — loads sandboxed plugins via wasmi.

Structs§

PluginManager
Manages plugin lifecycle: load, unload, list.
PluginMetadata
Metadata about a plugin.
PluginState
State of a loaded plugin.
PluginToolDef
A tool definition from a plugin.

Enums§

PluginError
Errors from plugin operations.
PluginType
Type of plugin.

Traits§

Plugin
The Plugin trait that all plugins must implement.