From 6c3dfe948a1d088198cfa82f777858502bdb39c2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 3 May 2022 12:18:24 -0700 Subject: [PATCH] Make it clearer that preserve_order implies a std dependency As indicated in the summary of #885. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 795f679fb..cae892fdb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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