Structs§
- Discovered
Plugin - A plugin discovered on disk, ready to be loaded as a
WasmTool. - Installed
Plugin - Installed
Plugin Record - Plugin
Manifest - Plugin
State - Top-level plugin state file, stored at
{data_dir}/plugin-state.json. - Plugin
State Entry - Persistent state for a single installed plugin.
- Registry
Entry - An entry in the registry index representing one plugin.
- Registry
Entry Params - Parameters for generating a registry index entry.
- Registry
Index - The full registry index loaded from disk or network.
- Registry
Version Entry - A single version entry in the registry index for a plugin.
Functions§
- check_
outdated - Check which installed plugins have updates available in the registry.
- discover_
plugins - Discover installed plugins by scanning up to three directory tiers:
- filter_
by_ state - Filter discovered plugins by state, removing disabled ones.
- generate_
registry_ entry - Generate a registry index entry for a plugin, suitable for
plugin publish. - install_
from_ url - Download a plugin package from a URL, verify its SHA256 if provided, and install it.
- install_
packaged_ plugin - list_
installed_ plugins - load_
registry_ index - Load or refresh the registry index.
- package_
plugin - remove_
installed_ plugin