Merge pull request #296 from erickt/master

Fix a warning, bump the versions
This commit is contained in:
Erick Tryzelaar 2016-04-25 07:58:23 -07:00
commit a959073a81
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "serde" name = "serde"
version = "0.7.0" version = "0.7.3"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"] authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
description = "A generic serialization/deserialization framework" description = "A generic serialization/deserialization framework"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "serde_codegen" name = "serde_codegen"
version = "0.7.2" version = "0.7.3"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"] authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework" description = "Macros to auto-generate implementations for the serde framework"

View File

@ -1138,12 +1138,12 @@ fn deserialize_map(
.collect::<Vec<_>>(); .collect::<Vec<_>>();
// Visit ignored values to consume them // Visit ignored values to consume them
let ignored_arm = if !container_attrs.deny_unknown_fields() { let ignored_arm = if container_attrs.deny_unknown_fields() {
None
} else {
Some(quote_arm!(cx, Some(quote_arm!(cx,
_ => { try!(visitor.visit_value::<::serde::de::impls::IgnoredAny>()); } _ => { try!(visitor.visit_value::<::serde::de::impls::IgnoredAny>()); }
)) ))
} else {
None
}; };
let extract_values = fields_attrs_names.iter() let extract_values = fields_attrs_names.iter()

View File

@ -1,6 +1,6 @@
[package] [package]
name = "serde_macros" name = "serde_macros"
version = "0.7.2" version = "0.7.3"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"] authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework" description = "Macros to auto-generate implementations for the serde framework"
@ -17,12 +17,12 @@ nightly-testing = ["clippy", "serde/nightly-testing", "serde_codegen/nightly-tes
[dependencies] [dependencies]
clippy = { version = "^0.*", optional = true } clippy = { version = "^0.*", optional = true }
serde_codegen = { version = "^0.7.2", path = "../serde_codegen", default-features = false, features = ["nightly"] } serde_codegen = { version = "^0.7.3", path = "../serde_codegen", default-features = false, features = ["nightly"] }
[dev-dependencies] [dev-dependencies]
compiletest_rs = "^0.1.1" compiletest_rs = "^0.1.1"
rustc-serialize = "^0.3.16" rustc-serialize = "^0.3.16"
serde = { version = "^0.7.0", path = "../serde" } serde = { version = "^0.7.3", path = "../serde" }
[[test]] [[test]]
name = "test" name = "test"