Skip to content

Commit 4fb2284

Browse files
committed
Auto merge of #222 - SuperFluffy:serde_0.8, r=cuviper
Use serde 0.8 I updated `bigint`, `complex`, and `rational` to use `serde 0.8`, and also fixed deserialization and the `serde` feature as such in the `rational` crate (didn't add any tests, but it compiles now). Similar to #196 for `num/complex`, “`use serde;`” needed to be removed in `num/rational`.
2 parents b0fbced + 4f6f7b3 commit 4fb2284

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.travis/test_nightly.sh

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ cargo test --verbose --manifest-path=macros/Cargo.toml
88

99
# Build test for the serde feature
1010
cargo build --verbose --features "serde"
11+
12+
# Downgrade serde and build test the 0.7.0 channel as well
13+
cargo update -p serde --precise 0.7.0
14+
cargo build --verbose --features "serde"

bigint/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ version = "0.3.19"
2929

3030
[dependencies.serde]
3131
optional = true
32-
version = "0.7.0"
32+
version = ">= 0.7.0, < 0.9.0"
3333

3434
[features]
3535
default = ["rand", "rustc-serialize"]

complex/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ version = "0.3.19"
2222

2323
[dependencies.serde]
2424
optional = true
25-
version = "^0.7.0"
25+
version = ">= 0.7.0, < 0.9.0"
2626

2727
[features]
2828
default = ["rustc-serialize"]

rational/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ version = "0.3.19"
3030

3131
[dependencies.serde]
3232
optional = true
33-
version = "0.7.0"
33+
version = ">= 0.7.0, < 0.9.0"
3434

3535
[features]
3636
default = ["bigint", "rustc-serialize"]

0 commit comments

Comments
 (0)