Skip to main content

Module package

Module package 

Source

Structs§

DiscoveredPlugin
A plugin discovered on disk, ready to be loaded as a WasmTool.
InstalledPlugin
InstalledPluginRecord
PluginManifest
PluginState
Top-level plugin state file, stored at {data_dir}/plugin-state.json.
PluginStateEntry
Persistent state for a single installed plugin.
RegistryEntry
An entry in the registry index representing one plugin.
RegistryEntryParams
Parameters for generating a registry index entry.
RegistryIndex
The full registry index loaded from disk or network.
RegistryVersionEntry
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