From a5b6a2bb16e47686b260f6c91f0eed06538e586b Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 5 Feb 2020 23:44:20 -0800 Subject: bump yaxpeax-arch version and fix warnings --- .gitignore | 1 + Cargo.toml | 10 +++++----- test/test.rs | 5 +++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ea8c4bf..96ef6c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml index fde353c..90baa80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "yaxpeax-mips" -version = "0.0.1" +version = "0.0.2" authors = [ "iximeow " ] 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 = ::Decoder::default().decode(data.to_vec()).unwrap(); assert!( -- cgit v1.1