The bindings under src/wit are generated from the pumpkin-plugin-wit submodule by tools/gen.zig. The canonical ABI is handled at comptime in src/abi.zig, so plugins are plain wasm32-freestanding modules and only need wasm-tools to become a component. On top of that there is a small hand written layer: plugin registration, typed event handlers, declarative commands (cmd), text components from struct literals (msg) and std.log support.
14 lines
268 B
Plaintext
14 lines
268 B
Plaintext
.{
|
|
.name = .pumpkin_api_zig,
|
|
.version = "0.1.0",
|
|
.fingerprint = 0x8b5633e6f3f6f585,
|
|
.minimum_zig_version = "0.16.0",
|
|
.paths = .{
|
|
"build.zig",
|
|
"build.zig.zon",
|
|
"src",
|
|
"LICENSE-MIT",
|
|
"LICENSE-APACHE",
|
|
},
|
|
}
|