require serde/alloc but not serde/std

This commit is contained in:
Jeffrey Griffin 2018-11-11 00:58:49 -08:00
parent 2181bce921
commit d34b8026d1

View File

@ -16,7 +16,7 @@ travis-ci = { repository = "serde-rs/json" }
appveyor = { repository = "serde-rs/json" }
[dependencies]
serde = "1.0.60"
serde = { version = "1.0.60", default-features = false, features = ["alloc"] }
indexmap = { version = "1.0", optional = true }
itoa = "0.4.3"
ryu = "0.2"