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 https://github.com/rust-num/num/pull/196 for `num/complex`, “`use serde;`” needed to be removed in `num/rational`.
This commit is contained in:
Homu 2016-08-18 06:24:42 +09:00
commit 4fb22849b4
4 changed files with 7 additions and 3 deletions

View File

@ -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"

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]