build: move serde_json to dev deps for API client (#667)

The serde_json package is only actually used in tests, so doesn't need to be
part of the API client dependencies.

This also relaxes the version pin as it was conflicting with dependencies in
other projects.
pull/24376/head
Dom 2021-01-15 16:31:20 +00:00 committed by GitHub
parent 0fb271015d
commit 601cff9d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,9 +10,9 @@ edition = "2018"
data_types = { path = "../data_types" }
reqwest = { version = "0.10.10", features = ["gzip", "json"] } # Latest release using tokio 0.2
serde = "1.0.118"
serde_json = "1.0.61"
thiserror = "1.0.23"
tokio = { version = "0.2", features = ["net", "tcp", "macros"] }
[dev-dependencies]
rand = "0.8.1"
serde_json = "1.0"