Skip to main content

Crate lenso_plugin_bundle

Crate lenso_plugin_bundle 

Source
Expand description

Immutable Plugin Release manifests, source materialization, and Bundle verification.

Structs§

PluginArtifactV2
Exact final Component facts computed by the Bundle builder.
PluginEntryV2
The single executable Plugin entry derived from source.
PluginManifestV2
Generated one-entry Plugin Manifest produced from source evidence.
SourcePluginBuild
Source-only input for one generated V2 Plugin Bundle.
VerifiedBundle
Verified closure of one immutable Plugin Release.

Enums§

BundleError
A Plugin authoring or immutable Bundle invariant failed closed.

Constants§

MANIFEST_FILE
The only manifest filename accepted in a materialized Plugin Bundle.
MAX_PLUGIN_DESCRIPTOR_BYTES
Maximum accepted source-derived descriptor size.
PLUGIN_DESCRIPTOR_SECTION
Custom section carrying source-derived Plugin descriptor bytes.

Functions§

build_source_plugin_bundle
Builds a one-entry V2 Plugin Bundle entirely from package and source evidence.
extract_plugin_descriptor
Extracts one canonical source-derived Plugin descriptor without executing it.
sha256_digest
Validates publisher-owned Manifest semantics independently of Host policy. Computes the canonical digest syntax used by Plugin Release documents and files.
verify_bundle_directory
Verifies an already materialized directory as an exact immutable Bundle closure.