Crate borderless_pkg

Source
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§

dto
Digital Transfer Object (DTO) definitions
git_info
semver

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
SourceFlattened
A ‘flattened’ version of Source
WasmPkg
Definition of a wasm package
WasmPkgNoSource
Definition of a wasm package - without the actual source
WasmPkgSigned
A signed wasm package

Enums§

PkgType
SourceType
Specifies the source type - aka how to get the wasm module