]> git.proxmox.com Git - cargo.git/commit
Auto merge of #10086 - epage:toml, r=ehuss
authorbors <bors@rust-lang.org>
Thu, 20 Jan 2022 03:56:18 +0000 (03:56 +0000)
committerbors <bors@rust-lang.org>
Thu, 20 Jan 2022 03:56:18 +0000 (03:56 +0000)
commitbb96b3a3e8dc434af81e5768240741711f011a73
treea30d3226f25242ca13b467d5bf873bc60005b6ce
parent7e89966d6c9aa1ca34bb570fe3f18c058b0a500e
parent320c279f43218f07dc15852af137a1c11b18b52f
Auto merge of #10086 - epage:toml, r=ehuss

Port cargo from toml-rs to toml_edit

Benefits:
- A TOML 1.0 compliant parser
- Unblock future work
  - Have `cargo init` add the current crate to the workspace, rather
    than error
  - #5586: Upstream `cargo-add`

TODO
- [x] Analyze performance and address regressions
- [x] Identify and resolve incompatibiies
- [x] Resolve remaining test failures, see
      https://github.com/ordian/toml_edit/labels/cargo
- [x] ~~Switch the code from https://github.com/rust-lang/cargo/pull/10176 to only parse once~~ (this PR is being merged first)
Cargo.toml
tests/testsuite/build.rs