Skip to main content

Module manifest

Module manifest 

Source
Expand description

Plugin manifest — TOML and JSON (de)serialization.

The manifest is the typed contract between a plugin and the host. It declares the plugin’s identity, the ABI range it targets, capabilities it requests, declarative dependencies on other plugins, the determinism / side-effect / scope characterizations, and a summary of what surfaces it plans to register.

Manifests are persisted in TOML for human authoring and on-the-wire JSON for programmatic exchange (WASM plugins return JSON from their manifest-json export). Both forms round-trip through serde.

Structs§

AbiRange
A semver range expressing which ABI majors this plugin supports.
ManifestSignature
Manifest signature material.
PluginDep
A dependency on another plugin.
PluginManifest
Top-level plugin manifest.
ProvidedSurfaces
Declarative summary of what surfaces a plugin’s register() will add.