3 releases

Uses old Rust 2015

0.0.3 Dec 6, 2017
0.0.2 Nov 28, 2017
0.0.1 Nov 27, 2017

#10 in #wasm32-unknown-unknown


Used in 3 crates (2 directly)

MIT license

16KB
372 lines

wasm-wrapper-gen-shared

wasm-wrapper-gen provides JavaScript-wrapper generation for rust code targeting wasm32-unknown-unknown.

wasm-wrapper-gen is composed of two parts: a procedural macro to generate extern "C" functions with appropriate parameters, and a build script which scrapes the source for instances of that macro and generates JavaScript bindings calling those methods.

wasm-wrapper-gen-shared is a set of utility functions which are shared between the procedural macro crate and the build script crate.

This crate is not meant for direct use.

See wasm-wrapper-gen for more information:

Dependencies

~1.5MB
~39K SLoC