From 62ef4122f60825f4868c982c6a45900545c817bf Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 6 Jul 2021 19:03:28 -0700 Subject: update crate to rust 2018 --- CHANGELOG | 2 ++ Cargo.toml | 1 + src/lib.rs | 9 --------- 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 " ] 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; -- cgit v1.1