update to wasm bindgen 0.2.0

master
Sendil Kumar 7 years ago
parent 5c4a68ee52
commit 1ecde68061
  1. 4
      README.md
  2. 2
      tests/fixtures/js-hello-world/Cargo.toml
  3. 2
      tests/fixtures/js-hello-world/src/lib.rs
  4. 2
      tests/fixtures/no-readme/Cargo.toml
  5. 2
      tests/fixtures/no-readme/src/lib.rs
  6. 2
      tests/fixtures/scopes/Cargo.toml
  7. 2
      tests/fixtures/scopes/src/lib.rs

@ -59,12 +59,12 @@ if you want to publish packages, you'll also need an account on [npm] and have
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.1" wasm-bindgen = "0.2"
``` ```
3. add this to the top of your `src/lib.rs`: 3. add this to the top of your `src/lib.rs`:
```rust ```rust
#![feature(proc_macro)] #![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen; extern crate wasm_bindgen;

@ -10,4 +10,4 @@ repository = "https://github.com/ashleygwilliams/wasm-pack"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.1.0" wasm-bindgen = "0.2.0"

@ -1,4 +1,4 @@
#![feature(proc_macro)] #![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen; extern crate wasm_bindgen;

@ -10,4 +10,4 @@ repository = "https://github.com/ashleygwilliams/wasm-pack"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.1.0" wasm-bindgen = "0.2.0"

@ -1,4 +1,4 @@
#![feature(proc_macro)] #![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen; extern crate wasm_bindgen;

@ -10,4 +10,4 @@ repository = "https://github.com/ashleygwilliams/wasm-pack"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.1.0" wasm-bindgen = "0.2.0"

@ -1,4 +1,4 @@
#![feature(proc_macro)] #![feature(proc_macro, wasm_import_module, wasm_custom_section)]
extern crate wasm_bindgen; extern crate wasm_bindgen;

Loading…
Cancel
Save