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: add webassembly component model #236

Merged
merged 1 commit into from
Jul 4, 2023
Merged

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Jul 4, 2023

This commit adds a webassembly component module for the policy engine.

The motivation for this is to be able to run the policy engine in any webassembly runtime that supports the new WebAssembly Component Model.

This commit include examples of running the policy engine in JavaScript, Python, and Rust.

Closes: #227

Copy link
Contributor

@lulf lulf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but maybe you move stuff from README.md to some place in docs/ so it gets part of docs.seedwing.io?

Also please check the GH action once merged since the PR build doesn't test multiplatform builds.

@danbev
Copy link
Contributor Author

danbev commented Jul 4, 2023

but maybe you move stuff from README.md to some place in docs/ so it gets part of docs.seedwing.io

Ah good point! I'll move the contents to docs. Thanks!

This commit adds a webassembly component module for the policy engine.

The motivation for this is to be able to run the policy engine in any
webassembly runtime that supports the new WebAssembly Component Model.

This commit include examples of running the policy engine in JavaScript,
Python, and Rust.

Closes: seedwing-io#227
Signed-off-by: Daniel Bevenius <[email protected]>
@danbev danbev merged commit 9916c59 into seedwing-io:main Jul 4, 2023
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.

Investigate using WebAssembly Component Model
2 participants