From e22c338cd00a71369688d1aa186294ae83c42528 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 8 Mar 2023 00:00:40 -0600 Subject: [PATCH] fix(edit): Force indexmap std support `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 --- crates/toml_edit/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/toml_edit/Cargo.toml b/crates/toml_edit/Cargo.toml index cb431852..414b63cc 100644 --- a/crates/toml_edit/Cargo.toml +++ b/crates/toml_edit/Cargo.toml @@ -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 }