mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Use structopt clap instead of global clap
This commit is contained in:
parent
a71b9519c4
commit
dc01afb3b5
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -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)",
|
||||
|
@ -21,7 +21,6 @@ include = [
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.3"
|
||||
clap="2.33.0"
|
||||
errno = "0.2"
|
||||
structopt = "0.3"
|
||||
wabt = "0.9.1"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user