From 0f7523761718fa67030ba2bad7d3660c5291e0a0 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 31 Jan 2022 07:21:44 -0600 Subject: [PATCH] test: Fix compatibilty with new toml_edit `toml_edit` fixed a bug in 0.13.4 that this test was relying on that is meant to help with rust-lang/cargo#10349. This basically restores us back to the pre-toml_edit behavior for published manifests. --- Cargo.toml | 2 +- tests/testsuite/publish.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c6244567656..60e1560cda8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ strip-ansi-escapes = "0.1.0" tar = { version = "0.4.36", default-features = false } tempfile = "3.0" termcolor = "1.1" -toml_edit = { version = "0.13", features = ["serde", "easy"] } +toml_edit = { version = "0.13.4", features = ["serde", "easy"] } unicode-xid = "0.2.0" url = "2.2.2" walkdir = "2.2" diff --git a/tests/testsuite/publish.rs b/tests/testsuite/publish.rs index f5f85cd94b9..88f9fee8e86 100644 --- a/tests/testsuite/publish.rs +++ b/tests/testsuite/publish.rs @@ -1284,6 +1284,8 @@ homepage = "foo" documentation = "foo" license = "MIT" repository = "foo" + +[dev-dependencies] "#, cargo::core::package::MANIFEST_PREAMBLE ),