Skip to content

Commit

Permalink
Make it clearer that preserve_order implies a std dependency
Browse files Browse the repository at this point in the history
As indicated in the summary of #885.
  • Loading branch information
dtolnay committed May 3, 2022
1 parent f34ef95 commit 6c3dfe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -56,7 +56,7 @@ alloc = ["serde/alloc"]
# Make serde_json::Map use a representation which maintains insertion order.
# This allows data to be read into a Value and written back to a JSON string
# while preserving the order of map keys in the input.
preserve_order = ["indexmap"]
preserve_order = ["indexmap", "std"]

# Use sufficient precision when parsing fixed precision floats from JSON to
# ensure that they maintain accuracy when round-tripped through JSON. This comes
Expand Down

0 comments on commit 6c3dfe9

Please sign in to comment.