Update README for publication to crates.io

This commit is contained in:
Alex Crichton 2018-03-05 20:27:34 -08:00
parent f58c436f77
commit 69e5798377

View File

@ -53,7 +53,7 @@ First up, let's install the tools we need
``` ```
$ rustup target add wasm32-unknown-unknown $ rustup target add wasm32-unknown-unknown
$ cargo install --git https://github.com/alexcrichton/wasm-bindgen $ cargo install wasm-bindgen-cli
``` ```
The first command here installs the wasm target so you can compile to it, and The first command here installs the wasm target so you can compile to it, and
@ -73,7 +73,7 @@ configuring our build output:
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = { git = 'https://github.com/alexcrichton/wasm-bindgen' } wasm-bindgen = "0.1"
``` ```
Next up our actual code! We'll write this in `src/lib.rs`: Next up our actual code! We'll write this in `src/lib.rs`: