From 21edf4da3e6a78631132919773c7c430f8a81fac Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 25 Jul 2021 00:45:34 -0700 Subject: fix `struct PIC17` not being exported with `use-serde` enabled --- CHANGELOG | 4 ++++ Cargo.toml | 2 +- src/lib.rs | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ee75039..607e7e6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +# 0.1.1 + +fix `struct PIC17` not being exported with `use-serde` enabled + # 0.1.0 update yaxpeax-arch to 0.2.3, fix some API differences diff --git a/Cargo.toml b/Cargo.toml index 2837a20..c2022d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "yaxpeax-pic17" -version = "0.1.0" +version = "0.1.1" authors = [ "iximeow " ] license = "0BSD" repository = "http://git.iximeow.net/yaxpeax-pic17/" diff --git a/src/lib.rs b/src/lib.rs index cd1c955..a26599a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,6 @@ pub struct Instruction { } #[cfg_attr(feature="use-serde", derive(Serialize, Deserialize))] -#[cfg(not(feature="use-serde"))] #[derive(Debug)] pub struct PIC17; -- cgit v1.1