3 unstable releases

0.3.0 May 15, 2024
0.2.1 Jun 3, 2023
0.2.0 Jun 3, 2023

#4 in #js-value

Download history 4843/week @ 2024-09-02 4903/week @ 2024-09-09 4810/week @ 2024-09-16 5018/week @ 2024-09-23 4787/week @ 2024-09-30 3347/week @ 2024-10-07 2571/week @ 2024-10-14 1674/week @ 2024-10-21 186/week @ 2024-10-28 163/week @ 2024-11-04 276/week @ 2024-11-11 354/week @ 2024-11-18 426/week @ 2024-11-25 313/week @ 2024-12-02 305/week @ 2024-12-09 274/week @ 2024-12-16

1,339 downloads per month
Used in 8 crates (via wasm-bindgen-derive)

MIT license

9KB
136 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.


lib.rs:

A proc-macro to be re-exported by wasm-bindgen-derive. We need this trampoline to enforce the correct bounds on the wasm-bindgen and js-sys dependencies, but those are technically not the dependencies of this crate, but only of the code it generates.

Dependencies

~1.5MB
~37K SLoC