Built with 🦀🕸 by The Rust and WebAssembly Working Group
You can install it using
cargo install wasm-bindgen-cli
Or, you can download it from the release page.
If you have
then you can install the pre-built artifacts by running:
cargo binstall wasm-bindgen-cli
// Import the `window.alert` function from the Web.
// hello message.
import from "./hello_world";
Lightweight. Only pay for what you use.
document.querySelectormethod doesn't cause
window.alertto be included in the bindings as well.
You can find general documentation about using Rust and WebAssembly together here.
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.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.