mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-02 02:11:06 +00:00
Update README for publication to crates.io
This commit is contained in:
parent
f58c436f77
commit
69e5798377
@ -53,7 +53,7 @@ First up, let's install the tools we need
|
||||
|
||||
```
|
||||
$ 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
|
||||
@ -73,7 +73,7 @@ configuring our build output:
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[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`:
|
||||
|
Loading…
x
Reference in New Issue
Block a user