3 releases

Uses old Rust 2015

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

#9 in #wasm32-unknown-unknown

Download history 8/week @ 2024-02-18 35/week @ 2024-02-25 6/week @ 2024-03-03 17/week @ 2024-03-10 2/week @ 2024-03-17 2/week @ 2024-03-24 61/week @ 2024-03-31

84 downloads per month
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
~37K SLoC