feat: add support for WebAssembly plugin crates #20
Loading…
Reference in a new issue
No description provided.
Delete branch "push-kozzotstmzos"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introduce a new
plugincrate kind inkit/crate.mkto handle the build,distribution, and installation of WebAssembly modules. This includes adding
a dedicated template (
template-plugin/) with a CeCILL license, a Gitearelease workflow, and necessary configuration files. Update
adopt.shtosupport plugin templates and modify API-related scripts to skip checks for
plugins since they do not expose Rust APIs.
kit/crate.mklogic forCRATE_KIND=plugin, defining variables likePLUGIN_IDand targets for WASM compilation (wasm32-unknown-unknown),distribution, and installation.
template-plugin/directory containing a Makefile,.gitignore,CeCILL licenses (FR/EN), and a Gitea release workflow for tagging and
publishing.
adopt.shto accept a--pluginargument, selecting thetemplate-plugindirectory instead of the standard template.kit/scripts/api-level.sh,api-snapshot.sh,publish.sh, andwiki.shto exit early for plugin crates, as they do not have Rust APIsor wiki documentation requirements.
tests/e2e-plugin.shto verify the end-to-end workflow of building,installing, and distributing a WASM plugin crate.
kit/VERSIONfrom 0.1.19 to 0.1.22 and add an e2e test case tothe main Makefile.
README.md, including prerequisitesfor the WASM target and versioning rules.