diff --git a/Cargo.toml b/Cargo.toml index 3ecefa6..07018c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,9 +33,7 @@ nom = "7.1.3" ordered-float = { version = "4.2", default-features = false } rand = { version = "0.8.5", features = ["small_rng"] } ryu = "1.0" -serde_json = { version = "1.0", default-features = false, features = [ - "preserve_order", -] } +serde_json = { version = "1.0", default-features = false, features = ["std"] } [dev-dependencies] goldenfile = "1.7" @@ -45,6 +43,9 @@ simd-json = "0.13.10" mockalloc = "0.1.2" criterion = "0.5.1" +[features] +default = ["serde_json/preserve_order"] + [[bench]] name = "parser" harness = false