aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-01-15 20:04:34 -0800
committeriximeow <me@iximeow.net>2020-01-15 20:04:34 -0800
commitd0e662b146aad03044d933caf2c2c16d7863c5d5 (patch)
treeda8193be5f8a6f105579ce4d0083c9c92132f096
parenta38fe698c2e00a798231ad0ccd984912b593f15a (diff)
make x86 actually no_std
it depended on crates that dragged in std, oops
-rw-r--r--Cargo.toml10
-rw-r--r--ffi/Cargo.toml4
-rw-r--r--src/display.rs1
-rw-r--r--src/lib.rs1
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 <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;
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;