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 427/week @ 2024-07-24 379/week @ 2024-07-31 1874/week @ 2024-08-07 2352/week @ 2024-08-14 3310/week @ 2024-08-21 5072/week @ 2024-08-28 4863/week @ 2024-09-04 4995/week @ 2024-09-11 4762/week @ 2024-09-18 5070/week @ 2024-09-25 4304/week @ 2024-10-02 3291/week @ 2024-10-09 2148/week @ 2024-10-16 1219/week @ 2024-10-23 170/week @ 2024-10-30 123/week @ 2024-11-06

4,131 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
~37K SLoC