npm.io
0.1.29 • Published 4 years agoCLI

rustwasmc

Licence
MIT OR Apache-2.0
Version
0.1.29
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
128
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

rustwasmc

WasmEdge ready tool

About

This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript in WasmEdge.

Acknowledgment

Most of the code for this project comes from wasm-pack.

Install

curl https://raw.githubusercontent.com/second-state/rustwasmc/master/installer/init.sh -sSf | sh

Commands

  • build: Generate an npm wasm pkg from a rustwasm crate

Logging

rustwasmc uses env_logger to produce logs when rustwasmc runs.

To configure your log level, use the RUST_LOG environment variable. For example:

RUST_LOG=info rustwasmc build