Crate embed_js_build [−] [src]
This crate provides functions to call from build and post-build scripts as part of
wasm32-unknown-unknown builds that rely on crates using the embed_js
crate to write inline
javascript.
See the embed_js
repository for examples of how to use these crates together.
Structs
PostProcessData |
Generated from |
Functions
postprocess_crate |
Call this once after a wasm-unknown-unknown build has completed (i.e. from a post-build script) in order to generate the javascript imports that should accompany the wasm binary. |
preprocess_crate |
Call this once from a build script for a crate that uses |