3 unstable releases

0.3.0 May 15, 2024
0.2.1 Jun 3, 2023
0.2.0 Jun 3, 2023

#13 in #exported

Download history 341/week @ 2024-02-10 340/week @ 2024-02-17 181/week @ 2024-02-24 638/week @ 2024-03-02 336/week @ 2024-03-09 468/week @ 2024-03-16 508/week @ 2024-03-23 871/week @ 2024-03-30 503/week @ 2024-04-06 547/week @ 2024-04-13 481/week @ 2024-04-20 347/week @ 2024-04-27 219/week @ 2024-05-04 497/week @ 2024-05-11 268/week @ 2024-05-18 537/week @ 2024-05-25

1,570 downloads per month
Used in 8 crates (via wasm-bindgen-derive)

MIT license

9KB
136 lines

Trait derivation macros for wasm-bindgen

crate Docs License Build Status

This crate contains a derivation macro for TryFrom<&JsValue> for T, where T is a type exported to JavaScript. See the documentation for usage examples.


lib.rs:

A proc-macro to be re-exported by wasm-bindgen-derive. We need this trampoline to enforce the correct bounds on the wasm-bindgen and js-sys dependencies, but those are technically not the dependencies of this crate, but only of the code it generates.

Dependencies

~1.5MB
~35K SLoC