| Crates.io | glass-easel-template-compiler |
| lib.rs | glass-easel-template-compiler |
| version | 0.14.1 |
| created_at | 2023-02-03 07:07:40.223868+00 |
| updated_at | 2025-07-04 05:49:19.952152+00 |
| description | The template compiler of the glass-easel project. |
| homepage | https://github.com/wechat-miniprogram/glass-easel |
| repository | https://github.com/wechat-miniprogram/glass-easel |
| max_upload_size | |
| id | 775414 |
| size | 622,577 |
The template compiler for the glass-easel project.
Refer to the glass-easel project for further details.
rust toolchain and wasm-pack should be globally installed.
Build WebAssembly binary:
wasm-pack build glass-easel-template-compiler --target nodejs --out-dir pkg-nodejs
Build binary:
cargo build --release
Build for simple browser usage:
wasm-pack build glass-easel-template-compiler --target no-modules --out-dir pkg-web
See the main project for the detailed usage.