#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

#654 in WebAssembly

Download history 653/week @ 2024-10-25 169/week @ 2024-11-01 219/week @ 2024-11-08 321/week @ 2024-11-15 488/week @ 2024-11-22 324/week @ 2024-11-29 299/week @ 2024-12-06 314/week @ 2024-12-13 67/week @ 2024-12-20 62/week @ 2024-12-27 222/week @ 2025-01-03 345/week @ 2025-01-10 956/week @ 2025-01-17 1685/week @ 2025-01-24 2055/week @ 2025-01-31 3265/week @ 2025-02-07

8,020 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

~0.8–1.6MB
~28K SLoC