Closed G4Vi closed 6 months ago
Adding support of https://github.com/extism/extism/pull/657
Manifest::json by default is self contained (serialized wasm as base64). Pass false to instead get WasmBytes encoded as ptr and length.
Manifest::json
false
WasmBytes
WasmBytes is now much more flexible, it still can store a copy of the wasm, but can also instead use a smart pointer.
Deprecated the Wasm constructor using WasmSource as std::variant is now used to manage the types.
Wasm
WasmSource
std::variant
Manifest can now be constructed with wasm(s).
Manifest
Adding support of https://github.com/extism/extism/pull/657
Manifest::json
by default is self contained (serialized wasm as base64). Passfalse
to instead getWasmBytes
encoded as ptr and length.WasmBytes
is now much more flexible, it still can store a copy of the wasm, but can also instead use a smart pointer.Deprecated the
Wasm
constructor usingWasmSource
asstd::variant
is now used to manage the types.Manifest
can now be constructed with wasm(s).