Expand description
Definition of a borderless wasm package
SmartContracts aswell as SoftwareAgents are compiled to webassembly, to be then executed on our runtime.
However, since it is not very handy to directly work with the compiled modules, we defined a package format,
that bundles the .wasm
module together with some meta information about the package.
Re-exports§
pub use crate::semver::SemVer;
Modules§
Structs§
- Author
- Specifies the author of some package
- Capabilities
- Capabilities of a SW-Agent
- PkgMeta
- Package metadata
- Registry
- Defines how to fetch the wasm code from a registry
- Source
- Specifies the complete source of a wasm module
- Source
Flattened - A ‘flattened’ version of
Source
- WasmPkg
- Definition of a wasm package
- Wasm
PkgNo Source - Definition of a wasm package - without the actual source
- Wasm
PkgSigned - A signed wasm package
Enums§
- PkgType
- Source
Type - Specifies the source type - aka how to get the wasm module