Skip to main content

pack_bundle

Function pack_bundle 

Source
pub fn pack_bundle(
    output: &Path,
    meta: &PluginMeta,
    artifact: &Path,
    signing_key: Option<&SigningKey>,
) -> Result<(), StoreError>
Expand description

Pack one plugin artifact and its metadata into a deterministic tar-based .sdktplugin bundle. The archive contains plugin.toml, the artifact, and manifest.sha256; optional Ed25519 signature files are also included.