#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

#201 in WebAssembly

Download history 426/week @ 2024-01-31 375/week @ 2024-02-07 351/week @ 2024-02-14 283/week @ 2024-02-21 279/week @ 2024-02-28 592/week @ 2024-03-06 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 471/week @ 2024-05-15

1,511 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

~1–1.7MB
~32K SLoC