Require serde_json when enabling expose-test-schema (#527)

I noticed that `juniper` fails to build if the `"expose-test-schema"` feature is enabled without also enabling `"serde_json"`. I guess it might make sense to add it as a dependency so people don't have to check this file to figure that out!

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
This commit is contained in:
Tommaso Checchi 2020-03-13 21:38:10 -07:00 committed by GitHub
parent bc7e5bac13
commit fd4290462c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ harness = false
path = "benches/bench.rs"
[features]
expose-test-schema = []
expose-test-schema = ["serde_json"]
default = [
"bson",
"chrono",