Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: passing wasm as via ptr and len in manifest, revamp extism::Wasm #17

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

G4Vi
Copy link
Contributor

@G4Vi G4Vi commented Jan 12, 2024

Adding support of extism/extism#657

Manifest::json by default is self contained (serialized wasm as base64). Pass false to instead get WasmBytes 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 using WasmSource as std::variant is now used to manage the types.

Manifest can now be constructed with wasm(s).

@G4Vi G4Vi requested a review from zshipko January 12, 2024 22:17
@G4Vi G4Vi merged commit fd09b0d into main Jan 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants