@ -1,7 +1,7 @@
use PBAR;
use console::style;
use emoji;
use std::process::Command;
pub fn cargo_install_wasm_bindgen() {
let step = format!(
pub fn rustup_add_wasm_target() {
@ -1,4 +1,3 @@
use bindgen;
use build;
@ -12,6 +11,7 @@ use readme;
use std::fs;
use std::result;
use std::time::Instant;
#[derive(Debug, StructOpt)]
pub enum Command {
@ -5,8 +5,8 @@ extern crate indicatif;
extern crate quicli;
use quicli::prelude::*;
use wasm_pack::Cli;
use wasm_pack::command::{init, pack, publish, Command};
main!(|args: Cli, log_level: verbosity| match args.cmd {
Command::Init { path, scope } => {
@ -1,12 +1,12 @@
use std::fs::File;
use std::io::prelude::*;
use failure::Error;
use serde_json;
use toml;
#[derive(Deserialize)]
struct CargoManifest {
@ -2,8 +2,8 @@ use console::style;
pub fn copy_from_crate(path: &str) -> Result<(), Error> {