Skip to content

Commit 6c3dfe9

Browse files
committed
Make it clearer that preserve_order implies a std dependency
As indicated in the summary of #885.
1 parent f34ef95 commit 6c3dfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ alloc = ["serde/alloc"]
5656
# Make serde_json::Map use a representation which maintains insertion order.
5757
# This allows data to be read into a Value and written back to a JSON string
5858
# while preserving the order of map keys in the input.
59-
preserve_order = ["indexmap"]
59+
preserve_order = ["indexmap", "std"]
6060

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

0 commit comments

Comments
 (0)