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.
- Manifest
Signature - Manifest signature material.
- Plugin
Dep - A dependency on another plugin.
- Plugin
Manifest - Top-level plugin manifest.
- Provided
Surfaces - Declarative summary of what surfaces a plugin’s
register()will add.