Skip to content

Commit

Permalink
Merge pull request #56 from CookiePieWw/trigger-preserve-order-feature
Browse files Browse the repository at this point in the history
feat: make `preserve_order` a default feature
  • Loading branch information
b41sh authored Sep 19, 2024
2 parents 4e4ead8 + d0166c1 commit 46ad50f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 46ad50f

Please sign in to comment.