Skip to content

Commit

Permalink
Use structopt clap instead of global clap
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Nov 21, 2019
1 parent a71b951 commit dc01afb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ include = [

[dependencies]
byteorder = "1.3"
clap="2.33.0"
errno = "0.2"
structopt = "0.3"
wabt = "0.9.1"
Expand Down
3 changes: 1 addition & 2 deletions src/bin/wasmer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
)]
extern crate structopt;

use clap;
use std::env;
use std::fs::{read_to_string, File};
use std::io;
Expand All @@ -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;
Expand Down

0 comments on commit dc01afb

Please sign in to comment.