diff options
| -rw-r--r-- | Cargo.toml | 10 | ||||
| -rw-r--r-- | ffi/Cargo.toml | 4 | ||||
| -rw-r--r-- | src/display.rs | 1 | ||||
| -rw-r--r-- | src/lib.rs | 1 | 
4 files changed, 7 insertions, 9 deletions
| @@ -9,11 +9,11 @@ description = "x86 decoders for the yaxpeax project"  [dependencies]  yaxpeax-arch = { path = "../../yaxpeax-arch", default-features = false, features = []} -"num-traits" = "0.2" -"termion" = "1.4.0" -"serde" = "1.0" -"serde_json" = "1.0" -"serde_derive" = "1.0" +"num-traits" = { version = "0.2", default-features = false } +"termion" = { version = "1.4.0", optional = true } +"serde" = { version = "1.0", optional = true } +"serde_json" = { version = "1.0", optional = true } +"serde_derive" = { version = "1.0", optional = true }  [[test]]  name = "test" diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index ff1a4c0..121757a 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -5,8 +5,8 @@ authors = ["iximeow <me@iximeow.net>"]  edition = "2018"  [dependencies] -yaxpeax-x86 = { path = "../" } -yaxpeax-arch = { path = "../../../yaxpeax-arch" } +yaxpeax-x86 = { path = "../", default-features = false } +yaxpeax-arch = { path = "../../../yaxpeax-arch", default-features = false }  [lib]  name = "yaxpeax_x86_ffi" diff --git a/src/display.rs b/src/display.rs index 29e718e..4e5e0cf 100644 --- a/src/display.rs +++ b/src/display.rs @@ -1,5 +1,4 @@  extern crate yaxpeax_arch; -extern crate termion;  use core::fmt; @@ -9,7 +9,6 @@ extern crate serde;  extern crate alloc;  extern crate yaxpeax_arch; -extern crate termion;  mod vex;  mod display; | 
