File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 1- extern crate libchisel;
2- #[ macro_use]
3- extern crate clap;
4- extern crate serde;
5- extern crate serde_derive;
6- extern crate serde_yaml;
7-
81#[ macro_use]
92mod logger;
103mod config;
114mod driver;
125mod options;
136mod result;
147
8+ use clap:: { crate_description, crate_name, crate_version} ;
159use std:: fs:: { read, read_to_string, write} ;
1610use std:: process;
1711
Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ edition = "2018"
1313[dependencies ]
1414binaryen = { version = " 0.8" , optional = true }
1515parity-wasm = " ^0.40.2"
16- rustc-hex = " 1.0"
1716failure = " 0.1.5"
1817wabt = { version = " 0.8.0" , optional = true }
1918wasm-snip = " 0.2.0"
2019
2120[features ]
2221default = []
22+
23+ [dev-dependencies ]
24+ rustc-hex = " 1.0"
Original file line number Diff line number Diff line change 1- #[ cfg( feature = "binaryen" ) ]
2- extern crate binaryen;
3- extern crate parity_wasm;
4- extern crate rustc_hex;
5- #[ cfg( feature = "wabt" ) ]
6- pub extern crate wabt;
7-
81pub use parity_wasm:: elements:: Module ;
92
103use std:: { error, fmt} ;
You can’t perform that action at this time.
0 commit comments