Skip to content

Commit

Permalink
test: Fix compatibilty with new toml_edit
Browse files Browse the repository at this point in the history
`toml_edit` fixed a bug in 0.13.4 that this test was relying on that is
meant to help with rust-lang#10349.  This basically restores us
back to the pre-toml_edit behavior for published manifests.
  • Loading branch information
epage committed Jan 31, 2022
1 parent b2496f0 commit 0f75237
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions tests/testsuite/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,8 @@ homepage = "foo"
documentation = "foo"
license = "MIT"
repository = "foo"
[dev-dependencies]
"#,
cargo::core::package::MANIFEST_PREAMBLE
),
Expand Down

0 comments on commit 0f75237

Please sign in to comment.