glass-easel-template-compiler

Crates.ioglass-easel-template-compiler
lib.rsglass-easel-template-compiler
version0.5.4
sourcesrc
created_at2023-02-03 07:07:40.223868
updated_at2024-05-22 09:15:55.738785
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
size478,127
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: 374

cargo fmt