3 unstable releases

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

#16 in #exported

Download history 321/week @ 2024-11-15 493/week @ 2024-11-22 330/week @ 2024-11-29 296/week @ 2024-12-06 312/week @ 2024-12-13 65/week @ 2024-12-20 61/week @ 2024-12-27 219/week @ 2025-01-03 331/week @ 2025-01-10 945/week @ 2025-01-17 1657/week @ 2025-01-24 2031/week @ 2025-01-31 3290/week @ 2025-02-07 2907/week @ 2025-02-14 1778/week @ 2025-02-21 1752/week @ 2025-02-28

10,146 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
~38K SLoC