From d0e662b146aad03044d933caf2c2c16d7863c5d5 Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 15 Jan 2020 20:04:34 -0800 Subject: make x86 actually no_std it depended on crates that dragged in std, oops --- Cargo.toml | 10 +++++----- ffi/Cargo.toml | 4 ++-- src/display.rs | 1 - src/lib.rs | 1 - 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a6b96b9..295428f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] 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; diff --git a/src/lib.rs b/src/lib.rs index 0e02bbe..624b3fa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,6 @@ extern crate serde; extern crate alloc; extern crate yaxpeax_arch; -extern crate termion; mod vex; mod display; -- cgit v1.1