Skip to content

Commit 5a2478c

Browse files
committed
Fix test failure
As reported in hjson/hjson-rust#23 the issue of the failing tests is the serde_hjson crate. The problem can be prevented (as reported by hjson/hjson-rust#23 (comment)) by disabling the default features of the crate (namingly preservation of key order). This commit disables the default features of serde_hjson to fix our tests. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 parent bf09a73 commit 5a2478c

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
@@ -28,7 +28,7 @@ nom = "5.0.0"
2828
toml = { version = "0.5", optional = true }
2929
serde_json = { version = "1.0.2", optional = true }
3030
yaml-rust = { version = "0.4", optional = true }
31-
serde-hjson = { version = "0.9", optional = true }
31+
serde-hjson = { version = "0.9", default-features = false, optional = true }
3232
rust-ini = { version = "0.13", optional = true }
3333

3434
[dev-dependencies]

0 commit comments

Comments
 (0)