From f77eddd498e4e36357c304308f28434f4b7aa63f Mon Sep 17 00:00:00 2001 From: andy-bell Date: Mon, 2 Apr 2018 14:54:42 +0100 Subject: [PATCH] change references to wasm-bindgen from pointing at git repo to pointing at crates.io --- README.md | 2 +- src/bindgen.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7b4d845..6bb73bf 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ if you want to publish packages, you'll also need an account on [npm] and have crate-type = ["cdylib"] [dependencies] - wasm-bindgen = { git = 'https://github.com/alexcrichton/wasm-bindgen' } + wasm-bindgen = "0.1" ``` 3. add this to the top of your `src/lib.rs`: diff --git a/src/bindgen.rs b/src/bindgen.rs index 3def230..46220fa 100644 --- a/src/bindgen.rs +++ b/src/bindgen.rs @@ -12,8 +12,7 @@ pub fn cargo_install_wasm_bindgen() { let pb = progressbar::new(step); let _output = Command::new("cargo") .arg("install") - .arg("--git") - .arg("https://github.com/alexcrichton/wasm-bindgen") + .arg("wasm-bindgen") .output() .unwrap_or_else(|e| panic!("{} failed to execute process: {}", emoji::ERROR, e)); pb.finish();