summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen/README.md')
-rw-r--r--vendor/wasm-bindgen/README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/vendor/wasm-bindgen/README.md b/vendor/wasm-bindgen/README.md
index cf5dafcfd..be034243c 100644
--- a/vendor/wasm-bindgen/README.md
+++ b/vendor/wasm-bindgen/README.md
@@ -26,6 +26,24 @@
<sub>Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a></sub>
</div>
+## Install `wasm-bindgen-cli`
+
+You can install it using `cargo install`:
+
+```
+cargo install wasm-bindgen-cli
+```
+
+Or, you can download it from the
+[release page](https://github.com/rustwasm/wasm-bindgen/releases).
+
+If you have [`cargo-binstall`](https://crates.io/crates/cargo-binstall) installed,
+then you can install the pre-built artifacts by running:
+
+```
+cargo binstall wasm-bindgen-cli
+```
+
## Example
Import JavaScript things into Rust and export Rust things to JavaScript.
@@ -110,4 +128,4 @@ 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.
-[contributing]: https://rustwasm.github.io/docs/wasm-bindgen/contributing/index.html \ No newline at end of file
+[contributing]: https://rustwasm.github.io/docs/wasm-bindgen/contributing/index.html