Skip to content

Commit

Permalink
feat(cargo): Rustup to latest nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Feb 18, 2016
1 parent fd5ab8c commit f6a66a5
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde"
version = "0.6.13"
version = "0.6.14"
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "A generic serialization/deserialization framework"
Expand All @@ -17,5 +17,5 @@ num-impls = ["num-bigint", "num-complex", "num-rational"]
num-rational = ["num/rational"]

[dependencies]
clippy = { version = "^0.0.41", optional = true }
clippy = { version = "^0.*", optional = true }
num = { version = "^0.1.27", default-features = false }
18 changes: 9 additions & 9 deletions serde_codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_codegen"
version = "0.6.13"
version = "0.6.14"
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
Expand All @@ -16,13 +16,13 @@ nightly-testing = ["clippy"]
with-syntex = ["quasi/with-syntex", "quasi_codegen", "quasi_codegen/with-syntex", "syntex", "syntex_syntax"]

[build-dependencies]
quasi_codegen = { version = "^0.6.0", optional = true }
syntex = { version = "^0.28.0", optional = true }
quasi_codegen = { version = "^0.7.0", optional = true }
syntex = { version = "^0.29.0", optional = true }

[dependencies]
aster = { version = "^0.12.0", default-features = false }
clippy = { version = "^0.0.41", optional = true }
quasi = { version = "^0.6.0", default-features = false }
quasi_macros = { version = "^0.6.0", optional = true }
syntex = { version = "^0.28.0", optional = true }
syntex_syntax = { version = "^0.28.0", optional = true }
aster = { version = "^0.13.1", default-features = false }
clippy = { version = "^0.*", optional = true }
quasi = { version = "^0.7.0", default-features = false }
quasi_macros = { version = "^0.7.0", optional = true }
syntex = { version = "^0.29.0", optional = true }
syntex_syntax = { version = "^0.29.0", optional = true }
4 changes: 2 additions & 2 deletions serde_codegen/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ fn deserialize_item_enum(
// Match arms to extract a variant from a string
let mut variant_arms = vec![];
for (i, variant) in enum_def.variants.iter().enumerate() {
let variant_name = builder.pat().enum_()
.id("__Field").id(format!("__field{}", i)).build()
let variant_name = builder.pat().path()
.id("__Field").id(format!("__field{}", i))
.build();

let expr = try!(deserialize_variant(
Expand Down
4 changes: 2 additions & 2 deletions serde_codegen/src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ fn serialize_variant(

match variant.node.data {
ast::VariantData::Unit(_) => {
let pat = builder.pat().enum_()
.id(type_ident).id(variant_ident).build()
let pat = builder.pat().path()
.id(type_ident).id(variant_ident)
.build();

Ok(quote_arm!(cx,
Expand Down
8 changes: 4 additions & 4 deletions serde_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_macros"
version = "0.6.13"
version = "0.6.14"
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
Expand All @@ -16,14 +16,14 @@ plugin = true
nightly-testing = ["clippy", "serde/nightly-testing", "serde_codegen/nightly-testing"]

[dependencies]
clippy = { version = "^0.0.41", optional = true }
serde_codegen = { version = "^0.6.13", path = "../serde_codegen", default-features = false, features = ["nightly"] }
clippy = { version = "^0.*", optional = true }
serde_codegen = { version = "^0.6.14", path = "../serde_codegen", default-features = false, features = ["nightly"] }

[dev-dependencies]
compiletest_rs = "^0.0.11"
num = "^0.1.27"
rustc-serialize = "^0.3.16"
serde = { version = "^0.6.13", path = "../serde", features = ["num-impls"] }
serde = { version = "^0.6.14", path = "../serde", features = ["num-impls"] }

[[test]]
name = "test"
Expand Down
10 changes: 5 additions & 5 deletions serde_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ build = "build.rs"
nightly-testing = ["clippy", "serde/nightly-testing", "serde_codegen/nightly-testing"]

[build-dependencies]
syntex = { version = "^0.28.0" }
syntex_syntax = { version = "^0.28.0" }
serde_codegen = { version = "^0.6.13", path = "../serde_codegen", features = ["with-syntex"] }
syntex = { version = "^0.29.0" }
syntex_syntax = { version = "^0.29.0" }
serde_codegen = { version = "^0.6.14", path = "../serde_codegen", features = ["with-syntex"] }

[dev-dependencies]
num = "^0.1.26"
rustc-serialize = "^0.3.16"
serde = { version = "*", path = "../serde", features = ["num-impls"] }
syntex = "^0.28.0"
syntex = "^0.29.0"

[dependencies]
clippy = { version = "^0.0.41", optional = true }
clippy = { version = "^0.*", optional = true }

[[test]]
name = "test"
Expand Down

1 comment on commit f6a66a5

@sgrif
Copy link
Contributor

@sgrif sgrif commented on f6a66a5 Mar 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this code still compile on syntex 0.28.0? Could this have been >= 0.28.0, < 0.30.0 to avoid forcing churn in other crates?

Please sign in to comment.