2 releases
0.1.1 | Dec 1, 2022 |
---|---|
0.1.0 | Dec 1, 2022 |
#1266 in WebAssembly
1,988 downloads per month
Used in 55 crates
(via rhizomedb-wasm)
9KB
72 lines
wasm-bindgen-downcast
(API Docs)
Downcast a JavaScript wrapper generated by wasm-bindgen
back to its original
struct.
This is a workaround for rustwasm/wasm-bindgen#2231 that is robust with respect to minification (something other solutions can't handle).
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
It is recommended to always use cargo crev
to verify the
trustworthiness of each of your dependencies, including this one.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
The intent of this crate is to be free of soundness bugs. The developers will do their best to avoid them, and welcome help in analysing and fixing them.
Dependencies
~2.5MB
~50K SLoC