Crate wasm_metadata

Source
Expand description

Read and manipulate WebAssembly metadata

Structs§

AddMetadata
Add metadata (module name, producers) to a WebAssembly file.
Author
Contact details of the people or organization responsible, encoded as a freeform string.
ComponentNames
Helper for rewriting a component’s component-name section with a new component name.
Description
Human-readable description of the binary
Homepage
URL to find more information on the binary
Licenses
License(s) under which contained software is distributed as an SPDX License Expression.
Metadata
Metadata associated with a Wasm Component or Module
ModuleNames
Helper for rewriting a module’s name section with a new module name.
Producers
A representation of a WebAssembly producers section.
ProducersField
Contents of a producers field
Revision
Source control revision identifier for the packaged software.
Source
URL to get source code for building the image
Version
Version of the packaged software

Enums§

Payload
Data representing either a Wasm Component or module