Skip to content

Commit

Permalink
Fix std feature dependency for itoa
Browse files Browse the repository at this point in the history
  • Loading branch information
Freax13 authored and Xanewok committed Jan 13, 2020
1 parent 1f2cdb3 commit 40dce16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -18,7 +18,7 @@ appveyor = { repository = "serde-rs/json" }
[dependencies]
serde = { version = "1.0.60", default-features = false }
indexmap = { version = "1.2", optional = true }
itoa = "0.4.3"
itoa = { version = "0.4.3", default-features = false }
ryu = "1.0"

[dev-dependencies]
Expand All @@ -44,7 +44,7 @@ features = ["raw_value"]
[features]
default = ["std"]

std = ["serde/std"]
std = ["serde/std", "itoa/std"]

alloc = ["serde/alloc"]

Expand Down

0 comments on commit 40dce16

Please sign in to comment.