Skip to content

Commit

Permalink
feat: Add basic WASM plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 22, 2024
1 parent 6fade48 commit 2f45660
Show file tree
Hide file tree
Showing 16 changed files with 465 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
374 changes: 374 additions & 0 deletions plugins/jwt/wasm-plugin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions plugins/jwt/wasm-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "jwt-plugin"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
wit-bindgen = "0.28.0"

[build]
target = "wasm32-wasi"
Binary file added plugins/jwt/wasm-plugin/jwt_plugin.wasm
Binary file not shown.
9 changes: 9 additions & 0 deletions plugins/jwt/wasm-plugin/pact-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"manifestVersion": 1,
"pluginInterfaceVersion": 1,
"name": "jwt",
"version": "0.0.0",
"executableType": "wasm",
"entryPoint": "jwt-plugin.wasm",
"pluginConfig": {}
}
Loading

0 comments on commit 2f45660

Please sign in to comment.