From cd2881ff02ae5c90bf459581df9dcdef1535ab23 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 21 Apr 2019 14:16:44 -0700 Subject: awful tweaks to expose a serde flag on yaxpeax-arch which will trickle through everything --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 005384f..3436931 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,14 @@ description = "fundamental traits to describe an architecture in the yaxpeax pro [dependencies] "num-traits" = "0.2" "termion" = "1.4.0" +"serde" = "*" [profile.release] lto = true + +[features] +default = [] + +# enables the (optional) use of Serde for bounds on +# Arch and Arch::Address +use-serde = [] -- cgit v1.1