glass-easel-template-compiler

Crates.ioglass-easel-template-compiler
lib.rsglass-easel-template-compiler
version0.11.0
sourcesrc
created_at2023-02-03 07:07:40.223868
updated_at2024-12-12 08:29:11.245327
descriptionThe template compiler of the glass-easel project.
homepagehttps://github.com/wechat-miniprogram/glass-easel
repositoryhttps://github.com/wechat-miniprogram/glass-easel
max_upload_size
id775414
size525,140
LastLeaf (LastLeaf)

documentation

https://github.com/wechat-miniprogram/glass-easel

README

glass-easel-template-compiler

The template compiler for the glass-easel project.

Refer to the glass-easel project for further details.

Build

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.

Commit count: 540

cargo fmt