fix(crates): Bump aster and syntex_syntax
This commit is contained in:
parent
72de877ec3
commit
7521db7b0b
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "serde_codegen"
|
name = "serde_codegen"
|
||||||
version = "0.6.1"
|
version = "0.6.2"
|
||||||
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"
|
||||||
@ -15,12 +15,12 @@ nightly = ["quasi_macros"]
|
|||||||
with-syntex = ["quasi/with-syntex", "quasi_codegen", "quasi_codegen/with-syntex", "syntex", "syntex_syntax"]
|
with-syntex = ["quasi/with-syntex", "quasi_codegen", "quasi_codegen/with-syntex", "syntex", "syntex_syntax"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
quasi_codegen = { verision = "^0.3.4", optional = true }
|
quasi_codegen = { verision = "^0.3.6", optional = true }
|
||||||
syntex = { version = "^0.18.0", optional = true }
|
syntex = { version = "^0.17.0", optional = true }
|
||||||
|
|
||||||
[dependencies]
|
[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 = { verision = "^0.3.5", default-features = false }
|
||||||
quasi_macros = { version = "^0.3.5", optional = true }
|
quasi_macros = { version = "^0.3.5", optional = true }
|
||||||
syntex = { version = "^0.17.0", 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 }
|
||||||
|
@ -622,7 +622,7 @@ fn deserialize_variant(
|
|||||||
) -> P<ast::Expr> {
|
) -> P<ast::Expr> {
|
||||||
let variant_ident = variant.node.name;
|
let variant_ident = variant.node.name;
|
||||||
|
|
||||||
match *variant.node.data {
|
match variant.node.data {
|
||||||
ast::VariantData::Unit(_) => {
|
ast::VariantData::Unit(_) => {
|
||||||
quote_expr!(cx, {
|
quote_expr!(cx, {
|
||||||
try!(visitor.visit_unit());
|
try!(visitor.visit_unit());
|
||||||
|
@ -292,7 +292,7 @@ fn serialize_variant(
|
|||||||
let variant_ident = variant.node.name;
|
let variant_ident = variant.node.name;
|
||||||
let variant_name = builder.expr().str(variant_ident);
|
let variant_name = builder.expr().str(variant_ident);
|
||||||
|
|
||||||
match *variant.node.data {
|
match variant.node.data {
|
||||||
ast::VariantData::Unit(_) => {
|
ast::VariantData::Unit(_) => {
|
||||||
let pat = builder.pat().enum_()
|
let pat = builder.pat().enum_()
|
||||||
.id(type_ident).id(variant_ident).build()
|
.id(type_ident).id(variant_ident).build()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "serde_tests"
|
name = "serde_tests"
|
||||||
version = "0.5.0"
|
version = "0.6.2"
|
||||||
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"
|
||||||
@ -11,15 +11,15 @@ keywords = ["serialization"]
|
|||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
syntex = { version = "*" }
|
syntex = { version = "^0.17.0" }
|
||||||
syntex_syntax = { version = "*" }
|
syntex_syntax = { version = "^0.19.1" }
|
||||||
serde_codegen = { version = "*", path = "../serde_codegen", features = ["with-syntex"] }
|
serde_codegen = { version = "*", path = "../serde_codegen", features = ["with-syntex"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
num = "*"
|
num = "^0.1.27"
|
||||||
rustc-serialize = "*"
|
rustc-serialize = "^0.3.16"
|
||||||
serde = { version = "*", path = "../serde" }
|
serde = { version = "*", path = "../serde" }
|
||||||
syntex = "*"
|
syntex = "^0.17.0"
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
name = "test"
|
name = "test"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user