Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions chisel/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
extern crate libchisel;
#[macro_use]
extern crate clap;
extern crate serde;
extern crate serde_derive;
extern crate serde_yaml;

#[macro_use]
mod logger;
mod config;
mod driver;
mod options;
mod result;

use clap::{crate_description, crate_name, crate_version};
use std::fs::{read, read_to_string, write};
use std::process;

Expand Down
4 changes: 3 additions & 1 deletion libchisel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ edition = "2018"
[dependencies]
binaryen = { version = "0.8", optional = true }
parity-wasm = "^0.40.2"
rustc-hex = "1.0"
failure = "0.1.5"
wabt = { version = "0.8.0", optional = true }
wasm-snip = "0.2.0"

[features]
default = []

[dev-dependencies]
rustc-hex = "1.0"
7 changes: 0 additions & 7 deletions libchisel/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
#[cfg(feature = "binaryen")]
extern crate binaryen;
extern crate parity_wasm;
extern crate rustc_hex;
#[cfg(feature = "wabt")]
pub extern crate wabt;

pub use parity_wasm::elements::Module;

use std::{error, fmt};
Expand Down