diff options
author | iximeow <me@iximeow.net> | 2020-01-15 20:04:34 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-15 20:04:34 -0800 |
commit | d0e662b146aad03044d933caf2c2c16d7863c5d5 (patch) | |
tree | da8193be5f8a6f105579ce4d0083c9c92132f096 | |
parent | a38fe698c2e00a798231ad0ccd984912b593f15a (diff) |
make x86 actually no_std
it depended on crates that dragged in std, oops
-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; |