#wasm-bindgen #macro #derivation

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

#221 in WebAssembly

Download history 501/week @ 2024-03-13 446/week @ 2024-03-20 723/week @ 2024-03-27 641/week @ 2024-04-03 557/week @ 2024-04-10 467/week @ 2024-04-17 417/week @ 2024-04-24 287/week @ 2024-05-01 201/week @ 2024-05-08 503/week @ 2024-05-15 470/week @ 2024-05-22 340/week @ 2024-05-29 290/week @ 2024-06-05 991/week @ 2024-06-12 311/week @ 2024-06-19 282/week @ 2024-06-26

1,899 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
~49K SLoC