#wasm-bindgen #macro #derivation #exported

no-std wasm-bindgen-derive

Trait derivation macros for wasm-bindgen

5 unstable releases

0.3.0 May 15, 2024
0.2.1 Jun 3, 2023
0.2.0 May 19, 2023
0.1.1 Mar 16, 2023
0.1.0 Sep 17, 2022

#257 in WebAssembly

Download history 563/week @ 2024-07-20 375/week @ 2024-07-27 1034/week @ 2024-08-03 1798/week @ 2024-08-10 2987/week @ 2024-08-17 4193/week @ 2024-08-24 4839/week @ 2024-08-31 4893/week @ 2024-09-07 4830/week @ 2024-09-14 5013/week @ 2024-09-21 5003/week @ 2024-09-28 3588/week @ 2024-10-05 3034/week @ 2024-10-12 1891/week @ 2024-10-19 428/week @ 2024-10-26 144/week @ 2024-11-02

5,933 downloads per month
Used in 7 crates (6 directly)

MIT license

10KB
77 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.

Dependencies

~2.5MB
~50K SLoC