Skip to main content

Module pack

Module pack 

Source
Expand description

standard-plugin pack: the deterministic account package of a plugin directory (standard_plugin_manifest::package): manifest.json at the root and each built half (a UI plugin, its companion daemon, or both) under ui/ and daemon/ with its runtime manifest, component, and the browser artifact when built. The same bundle always packs to the same bytes; the SHA-256 of the tarball, in lowercase hex, is the package’s identity on the account.

Structs§

Packed
A packed package and what the account will record about it.

Functions§

content_hash
The package’s content hash: lowercase hex SHA-256 of its bytes.
entry_names
The entry names of a packed package, in order.
package
Packs the built halves in dir (a plugin crate, a bundle directory, or a companion pair’s parent).