#wasm-bindgen #derive #wasm-bindgen-derive

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

#400 in WebAssembly

Download history 54/week @ 2024-12-21 86/week @ 2024-12-28 238/week @ 2025-01-04 367/week @ 2025-01-11 1121/week @ 2025-01-18 1700/week @ 2025-01-25 2243/week @ 2025-02-01 3325/week @ 2025-02-08 2747/week @ 2025-02-15 1776/week @ 2025-02-22 1798/week @ 2025-03-01 1843/week @ 2025-03-08 1793/week @ 2025-03-15 504/week @ 2025-03-22 1609/week @ 2025-03-29 1543/week @ 2025-04-05

5,698 downloads per month
Used in 9 crates (8 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