diff --git a/Cargo.toml b/Cargo.toml index c55f057..1df157f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,6 @@ gitlab = { repository = "abaumhauer/eui48", branch = "master" } appveyor = { repository = "abaumhauer/eui48", branch = "master", service = "github" } [features] -default = ["rustc-serialize"] +default = [] disp_hexstring = [] serde_bytes = ["serde"] diff --git a/src/lib.rs b/src/lib.rs index 58dba71..ed84e43 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -682,6 +682,7 @@ mod tests { } #[test] + #[cfg(feature = "rustc-serialize")] fn test_serialize() { use rustc_serialize::json; @@ -695,6 +696,7 @@ mod tests { } #[test] + #[cfg(feature = "rustc-serialize")] fn test_deserialize() { use rustc_serialize::json; @@ -710,6 +712,7 @@ mod tests { } #[test] + #[cfg(feature = "rustc-serialize")] fn test_serialize_roundtrip() { use rustc_serialize::json;