diff options
author | iximeow <me@iximeow.net> | 2020-02-05 23:44:20 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-02-05 23:49:02 -0800 |
commit | a5b6a2bb16e47686b260f6c91f0eed06538e586b (patch) | |
tree | 848c767e1288de5462a69d19e5821a245b4691ab | |
parent | f2f4dcd0f1494f21537b84370c7f630720e4494a (diff) |
bump yaxpeax-arch version and fix warnings0.0.2
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Cargo.toml | 10 | ||||
-rw-r--r-- | test/test.rs | 5 |
3 files changed, 9 insertions, 7 deletions
@@ -1 +1,2 @@ /target +Cargo.lock @@ -1,18 +1,18 @@ [package] name = "yaxpeax-mips" -version = "0.0.1" +version = "0.0.2" authors = [ "iximeow <me@iximeow.net>" ] license = "0BSD" repository = "http://git.iximeow.net/yaxpeax-mips/" description = "mips decoders for the yaxpeax project" [dependencies] -yaxpeax-arch = { version = "0.0.2", default-features = false, features = [] } +yaxpeax-arch = { version = "0.0.3", default-features = false, features = [] } "termion" = "1.4.0" -"serde" = "*" -"serde_derive" = "*" -"num_enum" = "*" +"serde" = { version = "1.0", optional = true } +"serde_derive" = { version = "1.0", optional = true } +"num_enum" = { version = "0.2", default-features = false } [[test]] name = "test" diff --git a/test/test.rs b/test/test.rs index 45ec234..431a349 100644 --- a/test/test.rs +++ b/test/test.rs @@ -1,9 +1,10 @@ extern crate yaxpeax_arch; extern crate yaxpeax_mips; -use yaxpeax_arch::{Arch, Decoder, LengthedInstruction}; -use yaxpeax_mips::{MIPS, Instruction, Opcode}; +use yaxpeax_arch::{Arch, Decoder}; +use yaxpeax_mips::{MIPS, Instruction}; //, Opcode}; +#[allow(dead_code)] fn test_decode(data: [u8; 4], expected: Instruction) { let instr = <MIPS as Arch>::Decoder::default().decode(data.to_vec()).unwrap(); assert!( |