diff --git a/.travis/test_nightly.sh b/.travis/test_nightly.sh index 19ee864..f2b024c 100755 --- a/.travis/test_nightly.sh +++ b/.travis/test_nightly.sh @@ -8,3 +8,7 @@ cargo test --verbose --manifest-path=macros/Cargo.toml # Build test for the serde feature cargo build --verbose --features "serde" + +# Downgrade serde and build test the 0.7.0 channel as well +cargo update -p serde --precise 0.7.0 +cargo build --verbose --features "serde" diff --git a/bigint/Cargo.toml b/bigint/Cargo.toml index 6708bcf..2c01cc3 100644 --- a/bigint/Cargo.toml +++ b/bigint/Cargo.toml @@ -29,7 +29,7 @@ version = "0.3.19" [dependencies.serde] optional = true -version = "0.7.0" +version = ">= 0.7.0, < 0.9.0" [features] default = ["rand", "rustc-serialize"] diff --git a/complex/Cargo.toml b/complex/Cargo.toml index 9927cf4..4687574 100644 --- a/complex/Cargo.toml +++ b/complex/Cargo.toml @@ -22,7 +22,7 @@ version = "0.3.19" [dependencies.serde] optional = true -version = "^0.7.0" +version = ">= 0.7.0, < 0.9.0" [features] default = ["rustc-serialize"] diff --git a/rational/Cargo.toml b/rational/Cargo.toml index c2f0c60..67621e5 100644 --- a/rational/Cargo.toml +++ b/rational/Cargo.toml @@ -30,7 +30,7 @@ version = "0.3.19" [dependencies.serde] optional = true -version = "0.7.0" +version = ">= 0.7.0, < 0.9.0" [features] default = ["bigint", "rustc-serialize"]