Skip to content

Commit

Permalink
fix(edit): Force indexmap std support
Browse files Browse the repository at this point in the history
`indexmap` 1.9.2 and before (the latest) auto-detect the use of std.  If
it fails, `IndexMap` does not default the third generic parameter,
causing builds to fail.  In `indexmap` master, this is fixed by
defaulting the `std` feature.

Fixes #524
  • Loading branch information
epage committed Mar 8, 2023
1 parent 7973bea commit e22c338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/toml_edit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ serde = ["dep:serde", "toml_datetime/serde", "dep:serde_spanned"]
unbounded = []

[dependencies]
indexmap = "1.9.1"
indexmap = { version = "1.9.1", features = ["std"] }
winnow = "0.3.0"
serde = { version = "1.0.145", optional = true }
kstring = { version = "2.0.0", features = ["max_inline"], optional = true }
Expand Down

0 comments on commit e22c338

Please sign in to comment.