Although the `serde_derive` dependency is now removed, it is actually necessary to add a `serde_derive` feature to serde. The reason why it can be compiled now is because other dependent packages have this dependency, so it is safer to add this feature here.

This commit is contained in:
Sunli 2020-09-01 09:35:47 +08:00
parent 8cc4ed2741
commit b2a0871798
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ async-graphql-derive = { path = "async-graphql-derive", version = "1.17.11" }
anyhow = "1.0.26"
thiserror = "1.0.11"
async-trait = "0.1.30"
serde = "1.0.104"
serde = { version = "1.0.104", features = ["serde_derive"] }
serde_json = "1.0.48"
bytes = "0.5.4"
Inflector = "0.11.4"
@ -61,6 +61,6 @@ members = [
"async-graphql-actix-web",
"async-graphql-warp",
"async-graphql-tide",
# "async-graphql-lambda",
# "async-graphql-lambda",
"benchmark",
]