Skip to content

Commit

Permalink
fix(crates): Bump aster and syntex_syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Nov 1, 2015
1 parent 72de877 commit 7521db7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 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.1"
version = "0.6.2"
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
Expand All @@ -15,12 +15,12 @@ nightly = ["quasi_macros"]
with-syntex = ["quasi/with-syntex", "quasi_codegen", "quasi_codegen/with-syntex", "syntex", "syntex_syntax"]

[build-dependencies]
quasi_codegen = { verision = "^0.3.4", optional = true }
syntex = { version = "^0.18.0", optional = true }
quasi_codegen = { verision = "^0.3.6", optional = true }
syntex = { version = "^0.17.0", optional = true }

[dependencies]
aster = { version = "^0.5.0", default-features = false }
aster = { version = "^0.6.0", default-features = false }
quasi = { verision = "^0.3.5", default-features = false }
quasi_macros = { version = "^0.3.5", optional = true }
syntex = { version = "^0.17.0", optional = true }
syntex_syntax = { version = "^0.18.0", optional = true }
syntex_syntax = { version = "^0.19.1", optional = true }
2 changes: 1 addition & 1 deletion serde_codegen/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ fn deserialize_variant(
) -> P<ast::Expr> {
let variant_ident = variant.node.name;

match *variant.node.data {
match variant.node.data {
ast::VariantData::Unit(_) => {
quote_expr!(cx, {
try!(visitor.visit_unit());
Expand Down
2 changes: 1 addition & 1 deletion serde_codegen/src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ fn serialize_variant(
let variant_ident = variant.node.name;
let variant_name = builder.expr().str(variant_ident);

match *variant.node.data {
match variant.node.data {
ast::VariantData::Unit(_) => {
let pat = builder.pat().enum_()
.id(type_ident).id(variant_ident).build()
Expand Down
12 changes: 6 additions & 6 deletions serde_tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_tests"
version = "0.5.0"
version = "0.6.2"
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "A generic serialization/deserialization framework"
Expand All @@ -11,15 +11,15 @@ keywords = ["serialization"]
build = "build.rs"

[build-dependencies]
syntex = { version = "*" }
syntex_syntax = { version = "*" }
syntex = { version = "^0.17.0" }
syntex_syntax = { version = "^0.19.1" }
serde_codegen = { version = "*", path = "../serde_codegen", features = ["with-syntex"] }

[dev-dependencies]
num = "*"
rustc-serialize = "*"
num = "^0.1.27"
rustc-serialize = "^0.3.16"
serde = { version = "*", path = "../serde" }
syntex = "*"
syntex = "^0.17.0"

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

0 comments on commit 7521db7

Please sign in to comment.