aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-04-21 14:17:00 -0700
committeriximeow <me@iximeow.net>2020-01-12 17:28:07 -0800
commit0ef3cdf12d5a5087bf95e1d8820723536a28a0cf (patch)
tree4ad5cbf9d1f454e96e5a559bb294b39727cf91d3 /src/lib.rs
parent00aa1ab7515f7dee7dcdfc28b3f942c30671677a (diff)
awful tweaks to expose a serde flag on yaxpeax-arch which will trickle through everything
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 88c01b0..dba62c8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,7 @@
+#[cfg(feature="use-serde")]
+#[macro_use] extern crate serde_derive;
+#[cfg(feature="use-serde")]
+extern crate serde;
extern crate yaxpeax_arch;
pub mod armv7;