summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG2
-rw-r--r--Cargo.toml1
-rw-r--r--src/lib.rs9
3 files changed, 3 insertions, 9 deletions
diff --git a/CHANGELOG b/CHANGELOG
index ee75039..6983dd8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
update yaxpeax-arch to 0.2.3, fix some API differences
+update crate to rust 2018
+
# 0.0.4
first version with changelog, decoder is complete but untested
diff --git a/Cargo.toml b/Cargo.toml
index e3289a2..a9bbc7a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,7 @@ authors = [ "iximeow <me@iximeow.net>" ]
license = "0BSD"
repository = "http://git.iximeow.net/yaxpeax-pic18/"
description = "pic18 decoder for the yaxpeax project"
+edition = "2018"
[dependencies]
yaxpeax-arch = { version = "0.2.3", default-features = false, features = [] }
diff --git a/src/lib.rs b/src/lib.rs
index 9fe0228..de012be 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,12 +1,3 @@
-#[cfg(feature="use-serde")]
-#[macro_use] extern crate serde_derive;
-#[cfg(feature="use-serde")]
-extern crate serde;
-//#[cfg(feature="use-serde")]
-//use serde::{Serialize, Deserialize};
-
-extern crate yaxpeax_arch;
-
use yaxpeax_arch::{Arch, AddressDiff, Decoder, LengthedInstruction, Reader, StandardDecodeError};
pub mod consts;