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();