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 serde-rs#885.
  • Loading branch information
dtolnay authored and ronaldslc committed Dec 3, 2022
1 parent 5676163 commit d1cc951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -57,7 +57,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 d1cc951

Please sign in to comment.