From a4ccb797cf04dba3cc2aaa52e2f2c254f045c992 Mon Sep 17 00:00:00 2001 From: Richard Janis Goldschmidt Date: Tue, 16 Aug 2016 00:47:32 +0200 Subject: [PATCH 1/2] Allow serde version in [0.7,0.9) --- bigint/Cargo.toml | 2 +- complex/Cargo.toml | 2 +- rational/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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"] From 4f6f7b329277993092f2981346fb7defb39d4406 Mon Sep 17 00:00:00 2001 From: Richard Janis Goldschmidt Date: Wed, 17 Aug 2016 23:12:20 +0200 Subject: [PATCH 2/2] Add travis build test of 0.7.0 channel --- .travis/test_nightly.sh | 4 ++++ 1 file changed, 4 insertions(+) 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"