Use structopt clap instead of global clap

This commit is contained in:
Syrus 2019-11-20 17:28:43 -08:00
parent a71b9519c4
commit dc01afb3b5
3 changed files with 1 additions and 4 deletions

1
Cargo.lock generated
View File

@ -1336,7 +1336,6 @@ name = "wasmer"
version = "0.10.2"
dependencies = [
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
"glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -21,7 +21,6 @@ include = [
[dependencies]
byteorder = "1.3"
clap="2.33.0"
errno = "0.2"
structopt = "0.3"
wabt = "0.9.1"

View File

@ -9,7 +9,6 @@
)]
extern crate structopt;
use clap;
use std::env;
use std::fs::{read_to_string, File};
use std::io;
@ -19,7 +18,7 @@ use std::process::exit;
use std::str::FromStr;
use std::collections::HashMap;
use structopt::StructOpt;
use structopt::{clap, StructOpt};
use wasmer::*;
use wasmer_clif_backend::CraneliftCompiler;